github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/fixtures/bugs/436/swagger.yml (about) 1 swagger: "2.0" 2 3 info: 4 title: Discriminator 5 description: Discriminator bug example 6 version: 0.0.1 7 8 schemes: 9 - http 10 11 consumes: 12 - application/json 13 produces: 14 - application/json 15 16 paths: 17 /image: 18 get: 19 operationId: image 20 summary: get image 21 responses: 22 200: 23 description: image 24 schema: 25 $ref: "#/definitions/Image" 26 27 definitions: 28 Links: 29 type: array 30 items: 31 type: string 32 Image: 33 description: An image of an application and revision 34 allOf: 35 - $ref: '#/definitions/Links' 36 type: object 37 properties: 38 created: 39 description: The timestamp the image was created 40 type: string 41 format: date-time 42 size: 43 description: The size of the image, in bytes 44 type: integer 45 imageId: 46 description: The docker image id SHA 47 type: string 48 required: 49 - created 50 - size 51 - imageId