DylanB95EST | b5a2383 | 2021-06-02 19:45:46 +0100 | [diff] [blame] | 1 | components: |
| 2 | schemas: |
| 3 | ErrorMessage: |
| 4 | type: object |
| 5 | title: Error |
| 6 | properties: |
| 7 | status: |
| 8 | type: string |
| 9 | message: |
| 10 | type: string |
| 11 | details: |
| 12 | type: string |
| 13 | |
| 14 | responses: |
| 15 | NotFound: |
| 16 | description: The specified resource was not found |
| 17 | content: |
| 18 | application/json: |
| 19 | schema: |
| 20 | $ref: '#/components/schemas/ErrorMessage' |
| 21 | Unauthorized: |
| 22 | description: Unauthorized |
| 23 | content: |
| 24 | application/json: |
| 25 | schema: |
| 26 | $ref: '#/components/schemas/ErrorMessage' |
| 27 | Forbidden: |
| 28 | description: Forbidden |
| 29 | content: |
| 30 | application/json: |
| 31 | schema: |
| 32 | $ref: '#/components/schemas/ErrorMessage' |
| 33 | BadRequest: |
| 34 | description: Bad Request |
| 35 | content: |
| 36 | application/json: |
| 37 | schema: |
| 38 | $ref: '#/components/schemas/ErrorMessage' |
| 39 | Conflict: |
| 40 | description: Conflict |
| 41 | content: |
| 42 | application/json: |
| 43 | schema: |
| 44 | $ref: '#/components/schemas/ErrorMessage' |
| 45 | Ok: |
| 46 | description: OK |
| 47 | content: |
| 48 | application/json: |
| 49 | schema: |
| 50 | type: object |
| 51 | Created: |
| 52 | description: Created |
| 53 | content: |
| 54 | text/plain: |
| 55 | schema: |
| 56 | type: string |
| 57 | NoContent: |
| 58 | description: No Content |
| 59 | content: {} |