github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/fixtures/bugs/1487/fixture-is-nullable.yaml (about) 1 swagger: '2.0' 2 3 info: 4 version: "1.0.0" 5 title: fixture for x-nullable flag 6 description: just an elementary check with the x-nullable tag 7 produces: 8 - application/json 9 consumes: 10 - application/json 11 paths: 12 /models: 13 get: 14 operationId: modelOp 15 summary: many model variations 16 description: Used to see if a codegen can render all the possible enum categories 17 tags: 18 - testcgen 19 responses: 20 default: 21 description: Generic Out 22 definitions: 23 thingWithNullableDates: 24 type: object 25 properties: 26 prop1: 27 type: string 28 format: date 29 prop2: 30 type: string 31 format: date 32 x-nullable: true