-
Notifications
You must be signed in to change notification settings - Fork 0
/
responses.yaml
30 lines (30 loc) · 1.27 KB
/
responses.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
openapi: 3.0.0
components:
responses:
BadRequestResponse:
description: Bad Request
headers:
api-version:
$ref: "https://raw.githubusercontent.com/MelvLee/OpenAPI-Sandbox/master/headers.yaml#/components/headers/api_version"
content:
application/problem+json:
schema:
$ref: "https://raw.githubusercontent.com/MelvLee/OpenAPI-Sandbox/master/components.yaml#/components/schemas/ValidatieFoutbericht"
UnauthorizedResponse:
description: Unauthorized
headers:
api-version:
$ref: "https://raw.githubusercontent.com/MelvLee/OpenAPI-Sandbox/master/headers.yaml#/components/headers/api_version"
content:
application/problem+json:
schema:
$ref: "https://raw.githubusercontent.com/MelvLee/OpenAPI-Sandbox/master/components.yaml#/components/schemas/Foutbericht"
ForbiddenResponse:
description: Forbidden
headers:
api-version:
$ref: "https://raw.githubusercontent.com/MelvLee/OpenAPI-Sandbox/master/headers.yaml#/components/headers/api_version"
content:
application/problem+json:
schema:
$ref: "https://raw.githubusercontent.com/MelvLee/OpenAPI-Sandbox/master/components.yaml#/components/schemas/Foutbericht"