errorObjectStuff
This commit is contained in:
parent
634a09c581
commit
a3c1bc99d8
23
openapi.yaml
23
openapi.yaml
@ -91,8 +91,12 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/productionOrder"
|
||||
404:
|
||||
description: No such productionOrder entries available
|
||||
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"
|
||||
/pdb/v2/baseData/{articleNumber}:
|
||||
get:
|
||||
tags: [ "Regular" ]
|
||||
@ -126,6 +130,21 @@ paths:
|
||||
|
||||
components:
|
||||
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:
|
||||
description: A test1 item
|
||||
type: object
|
||||
|
Loading…
x
Reference in New Issue
Block a user