components: | |
schemas: | |
ErrorMessage: | |
type: object | |
title: Error | |
properties: | |
status: | |
type: string | |
message: | |
type: string | |
details: | |
type: string | |
responses: | |
NotFound: | |
description: The specified resource was not found | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/ErrorMessage' | |
Unauthorized: | |
description: Unauthorized | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/ErrorMessage' | |
Forbidden: | |
description: Forbidden | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/ErrorMessage' | |
BadRequest: | |
description: Bad Request | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/ErrorMessage' | |
Conflict: | |
description: Conflict | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/ErrorMessage' | |
Ok: | |
description: OK | |
content: | |
application/json: | |
schema: | |
type: object | |
Created: | |
description: Created | |
content: | |
text/plain: | |
schema: | |
type: string | |
NoContent: | |
description: No Content | |
content: {} |