singhsanket143 / Flights-Service

38 stars 18 forks source link

Feature #3 - Update city api implementation #10

Open TusharWatts opened 1 year ago

TusharWatts commented 1 year ago

3

Implementation of update city api with the following signature: /api/v1/cities/:id - PATCH Req Body: {name: 'XYZ'}

In case if the city doesn't exists, then it'll throw HTTP 404 Not found error