Question: 1 . SpringBoot ( Debugging ) : Vehicle API Environment - Java version: 1 . 8 - Maven version: 3 . * - Spring Boot
SpringBootDebugging: Vehicle API Environment Java version: Maven version: Spring Boot version: RELEASE In this project, vehicle data are provided for many countries with API endpoints for fetching specific information. Note that all the data are virtual. The following REST endpoints have been implemented POST request to api vehicle: accepts a vehicle object without id and returns status code on creation If the vehicle object with id is provided, returns status code GET request to apivehicle id : returns the vehicle entry with the given id and status cod returns status code if the requested vehicle does returns status code if the requested vehicle id is invalid GET request to api vehicle: returns all the vehicle entries with status code There are tests already written but some are failing due to bugs in the implementation of those endpoints. Find the bugs and fix them so that all tests pass. Commands run: mvn clean springboot:run install: mun clean install
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
