github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/1341/swagger.yaml (about) 1 swagger: '2.0' 2 info: 3 title: Title 4 description: some description 5 contact: 6 name: John Doe 7 url: https://www.acme.com/support 8 email: support@acme.com 9 version: "1.0.0" 10 paths: 11 /: 12 get: 13 responses: 14 200: 15 description: Example path 16 schema: 17 type: string 18 default: 19 description: generic error 20 schema: 21 type: string 22 definitions: 23 ExecuteValues: 24 type: object 25 properties: 26 Value: 27 $ref: "#/definitions/ExecuteValue" 28 Array: 29 type: array 30 items: 31 $ref: "#/definitions/ExecuteValues" 32 33 ExecuteValue: 34 type: object 35 discriminator: ValueType 36 required: 37 - ValueType 38 - Test 39 properties: 40 ValueType: 41 type: string 42 Test: 43 type: string 44 ExecutableValueString: 45 allOf: 46 - $ref: '#/definitions/ExecuteValue' 47 - type: object 48 properties: 49 something: 50 type: string