github.com/hsdp/go-swagger@v0.19.0/fixtures/bugs/1429/responses-1429.yaml (about) 1 swagger: '2.0' 2 info: 3 title: Responses 4 version: 0.1.0 5 definitions: 6 Error: 7 type: object 8 description: | 9 Contains all the properties any error response from the API will contain. 10 Some properties are optional so might be empty most of the time 11 required: 12 - code 13 - message 14 properties: 15 code: 16 description: the error code, this is not necessarily the http status code 17 type: integer 18 format: int32 19 message: 20 description: a human readable version of the error 21 type: string 22 helpUrl: 23 description: an optional url for getting more help about this error 24 type: string 25 format: uri 26 27 responses: 28 BadRequest: 29 description: Bad request 30 schema: 31 $ref: '#/definitions/Error' 32 33 paths: 34 /: 35 get: 36 summary: GET 37 operationId: getAll 38 responses: 39 200: 40 description: O