...
1swagger: "2.0"
2info:
3 title: Object
4 version: 0.1.0
5paths:
6 /:
7 get:
8 summary: GET
9 operationId: getAll
10 responses:
11 "200":
12 description: Ok
13 "400":
14 description: Bad request
15 schema:
16 description: |
17 Contains all the properties any error response from the API will contain.
18 Some properties are optional so might be empty most of the time
19 type: object
20 required:
21 - code
22 - message
23 properties:
24 code:
25 description: the error code, this is not necessarily the http status
26 code
27 type: integer
28 format: int32
29 helpUrl:
30 description: an optional url for getting more help about this error
31 type: string
32 format: uri
33 message:
34 description: a human readable version of the error
35 type: string
View as plain text