Document 401 Unauthorized HTTP status error on Swagger UI for every API #194
Labels
Category: Coding
Changes to code base or refactored code that doesn't fix a bug.
Category: Documentation/Training
Improvements or additions to documentation.
Status: Available
Issue was approved and available to claim or abandoned for over 3 days.
Description
As a frontend developer,
I need to know the available responses from the API,
so that I can properly adjust frontend for the potential responses.
Documentation about the 401 Unauthorize HTTP status is missing from Swagger UI. The idea is for this to be documented, and Swagger UI acknowledge that the 401 documentation exists. This happens at least for
PATCH /sections/{id}
, but I am pretty sure it is happening with all endpoints.Mocks
You can see in the following message, the 401 shows as undocumented.
Acceptance Criteria
Update [Required]
Definition of Done
Estimation
2 hours
The text was updated successfully, but these errors were encountered: