Archived
2
This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
definma-api/oas/responses.yaml
2020-04-21 10:53:07 +02:00

54 lines
1.1 KiB
YAML

400:
description: Bad request
content:
application/json:
schema:
properties:
status:
type: string
example: 'Bad request'
401:
description: Unauthorized
content:
application/json:
schema:
properties:
status:
type: string
example: 'Unauthorized'
403:
description: Forbidden
content:
application/json:
schema:
properties:
status:
type: string
example: 'Forbidden'
404:
description: Not found
content:
application/json:
schema:
properties:
status:
type: string
example: 'Not found'
500:
description: Internal server error
content:
application/json:
schema:
properties:
status:
type: string
example: 'Internal server error'
Ok:
description: request executed successfully
content:
application/json:
schema:
properties:
status:
type: string
example: OK