ita-social-projects / SpaceToStudy-BackEnd

MIT License
13 stars 5 forks source link

[Swagger] Incorect status code in Example Value of PATCH /users/{id} endpoint #981

Open YuliaHurska opened 5 days ago

YuliaHurska commented 5 days ago

Environment:

  1. OS - Windows 10 IoT Enterprise LTSC
  2. Browser - Microsoft Edge 131.0.2903.51

Reproducible: always.

Precondition:

  1. Open the Swagger documentation

Steps to Reproduce

  1. Do endpoint: PATCH /users/{id}
  2. Observe the CODE 403

Actual result The endpoint displays code 403 with Example Value of code 404 :

Image

Expected result The endpoint displays code 403 with Example Value of code 403.