clientSideError/serverSideError
This commit is contained in:
25
openapi.yaml
25
openapi.yaml
@ -92,17 +92,9 @@ paths:
|
||||
schema:
|
||||
$ref: "#/components/schemas/productionOrder"
|
||||
400:
|
||||
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"
|
||||
$ref: "#/components/responses/clientSideError"
|
||||
500:
|
||||
description: Internal Server Error
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/errorResultObject"
|
||||
$ref: "#/components/responses/serverSideError"
|
||||
/pdb/v2/baseData/{articleNumber}:
|
||||
get:
|
||||
tags: [ "Regular" ]
|
||||
@ -135,6 +127,19 @@ paths:
|
||||
description: No such baseData entries available
|
||||
|
||||
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:
|
||||
errorResultObject:
|
||||
description: Object returned in case of an error
|
||||
|
Reference in New Issue
Block a user