OlhenShu / ProjectStage_Team2_May

0 stars 0 forks source link

[Eco-News, GET /econews/contentAndSourceForEcoNews/{id}] The 401 response code description is "Forbidden" instead of "Unauthorized" in the list of responses #287

Open OlhenShu opened 1 month ago

OlhenShu commented 1 month ago

Environment: Windows 11 Home Chrome 114.0.5735.91 (Official buid) (64-bit) GreenCityDocker-3 is built and running.

Reproducible: always.

Pre-conditions:

Steps to reproduce

  1. Select the “Eco-news" controller.
  2. Select the method GET /econews/contentAndSourceForEcoNews/{id} .
  3. Pay attention to the response code 401 in the list of responses.

Actual result: Response code 401 description is "Forbidden"

Expected result: Response code 401 description is "Unauthorized"