errorObjectStuff
This commit is contained in:
parent
634a09c581
commit
a3c1bc99d8
23
openapi.yaml
23
openapi.yaml
@ -91,8 +91,12 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/productionOrder"
|
$ref: "#/components/schemas/productionOrder"
|
||||||
404:
|
400:
|
||||||
description: No such productionOrder entries available
|
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"
|
||||||
/pdb/v2/baseData/{articleNumber}:
|
/pdb/v2/baseData/{articleNumber}:
|
||||||
get:
|
get:
|
||||||
tags: [ "Regular" ]
|
tags: [ "Regular" ]
|
||||||
@ -126,6 +130,21 @@ paths:
|
|||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
errorResultObject:
|
||||||
|
description: Object returned in case of an error
|
||||||
|
properties:
|
||||||
|
errorCode:
|
||||||
|
description: repeat the http error code
|
||||||
|
type: integer
|
||||||
|
serviceErrorCode:
|
||||||
|
description: service-specific error code
|
||||||
|
type: integer
|
||||||
|
errorMessage:
|
||||||
|
description: human-readable error message
|
||||||
|
type: string
|
||||||
|
errorInfoURL:
|
||||||
|
description: URL to some more information on the error
|
||||||
|
type: string
|
||||||
test1:
|
test1:
|
||||||
description: A test1 item
|
description: A test1 item
|
||||||
type: object
|
type: object
|
||||||
|
Loading…
x
Reference in New Issue
Block a user