github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/fixtures/bugs/1518/fixture-1518.yaml (about) 1 --- 2 swagger: "2.0" 3 info: 4 title: "client panick issue" 5 version: "0.0.1" 6 description: "repro issue 1518" 7 license: 8 name: "Apache 2.0" 9 url: "http://www.apache.org/licenses/LICENSE-2.0.html" 10 paths: 11 # no default 12 /getRecords1: 13 get: 14 operationId: getRecords1 15 parameters: 16 - name: records 17 in: body 18 required: true 19 schema: 20 type: array 21 items: 22 type: object 23 responses: 24 200: 25 description: "OK" 26 schema: 27 type: string 28 # with default 29 /getRecords2: 30 get: 31 operationId: getRecords2 32 parameters: 33 - name: records 34 in: body 35 required: true 36 schema: 37 type: array 38 items: 39 type: object 40 responses: 41 200: 42 description: "OK" 43 schema: 44 type: string 45 default: 46 description: "default" 47 schema: 48 type: object 49 # multiple, no default 50 /getRecords3: 51 get: 52 operationId: getRecords3 53 parameters: 54 - name: records 55 in: body 56 required: true 57 schema: 58 type: array 59 items: 60 type: object 61 responses: 62 200: 63 description: "OK" 64 schema: 65 type: string 66 201: 67 description: "OK" 68 schema: 69 type: string 70 # multple, with default 71 /getRecords4: 72 get: 73 operationId: getRecords4 74 parameters: 75 - name: records 76 in: body 77 required: true 78 schema: 79 type: array 80 items: 81 type: object 82 responses: 83 200: 84 description: "OK" 85 schema: 86 type: string 87 201: 88 description: "OK" 89 schema: 90 type: string 91 default: 92 description: "default" 93 schema: 94 type: object