Open OlhenShu opened 11 months ago
Execution of paragraph 3. is impossible because the input specified "id" field only accepts integer values. When specifying an integer value that is not present in the database, code 404 is returned - resource not found. Thus, using status code 400 is not justified.
Environment: Windows 11 Home Chrome 114.0.5735.91 (Official buid) (64-bit) GreenCityDocker-3 is built and running.
Reproducible: always.
Pre-conditions: User is logged in.
Steps to reproduce:
Actual result: The 400 (Bad request) response code is not documented in the response codes list.
Expected result: The 400 (Bad request) response code is documented in the response codes list