Missing `400` error in OpenAPI specs
Problem to solve
Since the correction made for #93 (closed), the API now return a 400
erreur when the user overflow the pagination values.
Proposal
We need to add this return case in the OpenAPI definition for all APIs endpoint using pagination
API endpoint concerned :
/api/scope
/api/service
/api/monitor
/api/incident
/api/maintenance
Other links/references
- OpenAPI specs : https://gitlab.com/prod-manager/prod-manager/-/blob/master/ProdManager/static/meta/openapi.yaml
-
400
error : https://gitlab.com/prod-manager/prod-manager/-/blob/master/ProdManager/static/meta/openapi.yaml#L294
related to #93 (closed)