clientSideError/serverSideError
This commit is contained in:
25
openapi.yaml
25
openapi.yaml
@ -92,17 +92,9 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/productionOrder"
|
$ref: "#/components/schemas/productionOrder"
|
||||||
400:
|
400:
|
||||||
description: There is something wrong with the data you sent, look into the response object for details
|
$ref: "#/components/responses/clientSideError"
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/errorResultObject"
|
|
||||||
500:
|
500:
|
||||||
description: Internal Server Error
|
$ref: "#/components/responses/serverSideError"
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: "#/components/schemas/errorResultObject"
|
|
||||||
/pdb/v2/baseData/{articleNumber}:
|
/pdb/v2/baseData/{articleNumber}:
|
||||||
get:
|
get:
|
||||||
tags: [ "Regular" ]
|
tags: [ "Regular" ]
|
||||||
@ -135,6 +127,19 @@ paths:
|
|||||||
description: No such baseData entries available
|
description: No such baseData entries available
|
||||||
|
|
||||||
components:
|
components:
|
||||||
|
responses:
|
||||||
|
clientSideError:
|
||||||
|
description: There is something wrong with the data you sent, look into the response object for details
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/errorResultObject"
|
||||||
|
serverSideError:
|
||||||
|
description: Internal Server Error, look into the response object for details
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/errorResultObject"
|
||||||
schemas:
|
schemas:
|
||||||
errorResultObject:
|
errorResultObject:
|
||||||
description: Object returned in case of an error
|
description: Object returned in case of an error
|
||||||
|
Reference in New Issue
Block a user