OlhenShu / GreenCityProjectStage

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 #278

Open OlhenShu opened 11 months ago

OlhenShu commented 11 months 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"