diff --git a/input.yml b/input.yml index d941d89..b0e1959 100644 --- a/input.yml +++ b/input.yml @@ -27,20 +27,39 @@ paths: format: binary responses: '200': - description: Status message + description: OK Message content: application/json: schema: type: array items: - $ref: '#/components/schemas/Response' + $ref: '#/components/schemas/OK' + '416': + description: Media type error + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Error' components: schemas: - Response: + OK: properties: status: type: string description: "Status message from backend." required: - - status \ No newline at end of file + - status + Error: + properties: + status: + type: string + description: "Status message from backend." + message: + type: string + description: "Error message" + required: + - status + - message \ No newline at end of file