github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/1260/test3-bis-swagger.yaml (about) 1 swagger: '2.0' 2 info: 3 version: 0.1.1 4 title: test 1 5 description: recursively following JSON references 6 contact: 7 name: Fred 8 9 schemes: 10 - http 11 12 consumes: 13 - application/json 14 produces: 15 - application/json 16 17 paths: 18 /getAll: 19 get: 20 operationId: getAll 21 parameters: 22 - name: a 23 in: body 24 description: max number of results 25 required: false 26 schema: 27 $ref: '#/definitions/a' 28 responses: 29 '200': 30 description: Success 31 schema: 32 $ref: '#/definitions/b' 33 '201': 34 description: Success 35 schema: 36 $ref: '#/definitions/b' 37 '203': 38 description: Success 39 schema: 40 $ref: '#/definitions/c' 41 42 definitions: 43 a: 44 type: string 45 b: 46 type: array 47 items: 48 type: string 49 c: 50 type: object 51 additionalProperties: 52 type: integer