github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/2604/2604.yaml (about) 1 swagger: '2.0' 2 info: 3 version: 1.0.0 4 title: API 5 6 paths: 7 /test: 8 post: 9 operationId: testPost 10 parameters: 11 - in: body 12 required: true 13 name: postRequest 14 schema: 15 $ref: '#/definitions/PostRequest' 16 responses: 17 201: 18 description: Test 19 schema: 20 type: object 21 properties: 22 msg: 23 type: string 24 x-isnullable: false 25 definitions: 26 PostRequest: 27 $ref: '#/definitions/PostFields' 28 PostFields: 29 type: object 30 required: 31 - a 32 - b 33 properties: 34 a: 35 type: string 36 x-isnullable: false 37 b: 38 type: string 39 Composed: 40 $ref: '#/definitions/NoValidations' 41 NoValidations: 42 type: object 43 properties: 44 c: 45 type: string 46 ComposedIface: 47 $ref: '#/definitions/Interface' 48 Interface: 49 type: object