github.com/josephspurrier/go-swagger@v0.2.1-0.20221129144919-1f672a142a00/fixtures/codegen/issue-1066.yaml (about) 1 swagger: '2.0' 2 info: 3 description: description 4 title: title 5 version: 1.0.0 6 basePath: "/" 7 paths: 8 "/path": 9 post: 10 description: description 11 produces: 12 - application/json 13 tags: 14 - path 15 operationId: path.post 16 parameters: 17 - name: body 18 in: body 19 schema: 20 required: 21 - params 22 properties: 23 params: 24 type: object 25 required: 26 - field 27 properties: 28 field: 29 description: field 30 type: integer 31 responses: 32 '200': 33 description: description 34 schema: 35 type: object 36 required: 37 - result 38 properties: 39 result: 40 type: array 41 items: 42 type: object 43 properties: 44 id: 45 description: id 46 type: integer