Add Bad Request
This commit is contained in:
parent
7822f59fd4
commit
02dc61b7c7
@ -245,6 +245,8 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/NamedMapResponse'
|
$ref: '#/components/schemas/NamedMapResponse'
|
||||||
|
'400':
|
||||||
|
$ref: '#/components/responses/BadRequest'
|
||||||
'401':
|
'401':
|
||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
'403':
|
'403':
|
||||||
@ -319,6 +321,8 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/NamedMapResponseList'
|
$ref: '#/components/schemas/NamedMapResponseList'
|
||||||
|
'400':
|
||||||
|
$ref: '#/components/responses/BadRequest'
|
||||||
'401':
|
'401':
|
||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
'403':
|
'403':
|
||||||
@ -345,10 +349,14 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Template'
|
$ref: '#/components/schemas/Template'
|
||||||
|
'400':
|
||||||
|
$ref: '#/components/responses/BadRequest'
|
||||||
'401':
|
'401':
|
||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
'403':
|
'403':
|
||||||
$ref: '#/components/responses/Forbidden'
|
$ref: '#/components/responses/Forbidden'
|
||||||
|
'404':
|
||||||
|
$ref: '#/components/responses/NotFound'
|
||||||
security:
|
security:
|
||||||
- ApiKeyQueryParam: []
|
- ApiKeyQueryParam: []
|
||||||
- ApiKeyHTTPBasicAuth: []
|
- ApiKeyHTTPBasicAuth: []
|
||||||
@ -370,10 +378,14 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/NamedMapResponse'
|
$ref: '#/components/schemas/NamedMapResponse'
|
||||||
|
'400':
|
||||||
|
$ref: '#/components/responses/BadRequest'
|
||||||
'401':
|
'401':
|
||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
'403':
|
'403':
|
||||||
$ref: '#/components/responses/Forbidden'
|
$ref: '#/components/responses/Forbidden'
|
||||||
|
'404':
|
||||||
|
$ref: '#/components/responses/NotFound'
|
||||||
security:
|
security:
|
||||||
- ApiKeyQueryParam: []
|
- ApiKeyQueryParam: []
|
||||||
- ApiKeyHTTPBasicAuth: []
|
- ApiKeyHTTPBasicAuth: []
|
||||||
@ -444,10 +456,14 @@ paths:
|
|||||||
responses:
|
responses:
|
||||||
'204':
|
'204':
|
||||||
description: No Content
|
description: No Content
|
||||||
|
'400':
|
||||||
|
$ref: '#/components/responses/BadRequest'
|
||||||
'401':
|
'401':
|
||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
'403':
|
'403':
|
||||||
$ref: '#/components/responses/Forbidden'
|
$ref: '#/components/responses/Forbidden'
|
||||||
|
'404':
|
||||||
|
$ref: '#/components/responses/NotFound'
|
||||||
security:
|
security:
|
||||||
- ApiKeyQueryParam: []
|
- ApiKeyQueryParam: []
|
||||||
- ApiKeyHTTPBasicAuth: []
|
- ApiKeyHTTPBasicAuth: []
|
||||||
@ -485,6 +501,10 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/MapResponse'
|
$ref: '#/components/schemas/MapResponse'
|
||||||
|
'400':
|
||||||
|
$ref: '#/components/responses/BadRequest'
|
||||||
|
'404':
|
||||||
|
$ref: '#/components/responses/NotFound'
|
||||||
x-code-samples:
|
x-code-samples:
|
||||||
- lang: Curl
|
- lang: Curl
|
||||||
source: |
|
source: |
|
||||||
@ -528,6 +548,10 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/MapResponse'
|
$ref: '#/components/schemas/MapResponse'
|
||||||
|
'400':
|
||||||
|
$ref: '#/components/responses/BadRequest'
|
||||||
|
'404':
|
||||||
|
$ref: '#/components/responses/NotFound'
|
||||||
x-code-samples:
|
x-code-samples:
|
||||||
- lang: Curl
|
- lang: Curl
|
||||||
source: |
|
source: |
|
||||||
@ -558,6 +582,8 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: binary
|
format: binary
|
||||||
|
'400':
|
||||||
|
$ref: '#/components/responses/BadRequest'
|
||||||
'401':
|
'401':
|
||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
'403':
|
'403':
|
||||||
@ -598,6 +624,8 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: binary
|
format: binary
|
||||||
|
'400':
|
||||||
|
$ref: '#/components/responses/BadRequest'
|
||||||
'401':
|
'401':
|
||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
'403':
|
'403':
|
||||||
@ -633,6 +661,8 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: binary
|
format: binary
|
||||||
|
'400':
|
||||||
|
$ref: '#/components/responses/BadRequest'
|
||||||
'401':
|
'401':
|
||||||
$ref: '#/components/responses/Unauthorized'
|
$ref: '#/components/responses/Unauthorized'
|
||||||
'403':
|
'403':
|
||||||
@ -1367,6 +1397,8 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
description: Name of the requested template
|
description: Name of the requested template
|
||||||
responses:
|
responses:
|
||||||
|
BadRequest:
|
||||||
|
description: The server could not understand the request due to invalid syntax.
|
||||||
NotFound:
|
NotFound:
|
||||||
description: The specified resource was not found
|
description: The specified resource was not found
|
||||||
Unauthorized:
|
Unauthorized:
|
||||||
|
Loading…
Reference in New Issue
Block a user