Response 401 undocumented in Swagger

Hi there,

small issue. In any flow I can use a precondition to check anything I want and cause an error to be generated. One of the error types available is the UNAUTHORIZED type. This causes the 401 response code.

This code however isn't documented in the swagger documentation. That documentation only covers 200, 400, 403, 404, 429 and 500.

My front end developer picked up on this as he ingests the swagger json to generate typescript and it was throwing an error.

Other
1 reply