github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/fixtures/bugs/909/fixture-909-2.yaml (about) 1 swagger: '2.0' 2 info: 3 title: fixture for issue#909 4 version: '1.0.0' 5 host: localhost 6 basePath: / 7 produces: 8 - application/json 9 schemes: 10 - http 11 paths: 12 /optional: 13 get: 14 operationId: getOptional 15 parameters: 16 - name: notAnOption1 17 in: query 18 type: array 19 collectionFormat: csv 20 required: true 21 items: 22 type: string 23 format: date-time 24 - name: isAnOption2 25 in: query 26 type: array 27 collectionFormat: csv 28 required: false 29 items: 30 type: string 31 format: uuid 32 - name: notAnOption3 33 in: body 34 required: false 35 schema: 36 $ref: '#/definitions/ContainerConfig' 37 responses: 38 200: 39 description: simple type 40 schema: 41 type: string 42 format: date-time 43 201: 44 description: simple type 45 schema: 46 type: string 47 format: uuid 48 default: 49 description: schema type 50 schema: 51 $ref: '#/definitions/ContainerConfig' 52 definitions: 53 ContainerConfig: 54 type: object 55 required: [config1] 56 properties: 57 config1: 58 type: string 59 format: date-time 60 config2: 61 type: string 62 format: uuid