CSCI-GA-2820-FA24-003 / products

NYU DevOps Products Service Fall 2024
Apache License 2.0
0 stars 1 forks source link

Deletion of non-existent product #20

Closed niveditashankaranarayanan closed 1 month ago

niveditashankaranarayanan commented 2 months ago

As a developer, I need to ensure that the system responds correctly when attempting to delete a product that does not exist, So that the API returns the appropriate 404 Not Found error and informs the user that the product does not exist.

Details and Assumptions

Acceptance Criteria:

Given a delete request with a non-existent product ID,
When I attempt to delete the product,
Then the system should return a 404 Not Found status code and a message saying "Product with id {non_existent_product_id} not found."
savarchaturvedi commented 1 month ago

updated the story with correct format.