github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/fixtures/bugs/1437/fixture-1437-2.yaml (about) 1 swagger: '2.0' 2 info: 3 version: 0.0.0 4 title: 'Enum' 5 description: | 6 Format validation generation 7 contact: 8 name: API Support 9 url: http://www.example.com 10 email: contact@github.com 11 consumes: 12 - application/json 13 produces: 14 - application/json 15 definitions: 16 aUUID: 17 type: string 18 format: uuid 19 nonregIoReader: 20 type: string 21 format: binary 22 aListOfUUIDs: 23 type: array 24 maxItems: 10 25 items: 26 type: string 27 format: uuid 28 aListOfDates: 29 type: array 30 items: 31 type: string 32 format: date 33 aListWithoutValidation: 34 type: array 35 items: 36 type: string 37 myObject: 38 type: object 39 properties: 40 thisUUID: 41 $ref: '#/definitions/aUUID' 42 thisListOfUUIDs: 43 $ref: '#/definitions/aListOfUUIDs' 44 thisListOfDates: 45 $ref: '#/definitions/aListOfDates' 46 thisIoReader: 47 $ref: '#/definitions/nonregIoReader' 48 theListWithoutValidation: 49 $ref: '#/definitions/aListWithoutValidation' 50 anInlineListWithSliceValidations: 51 type: array 52 maxItems: 100 53 items: 54 type: string 55 anInlineListWithoutValidations: 56 type: array 57 items: 58 type: integer 59 anInlineListWithValidations: 60 type: array 61 items: 62 type: integer 63 format: uint32 64 maximum: 12 65 paths: 66 paths: 67 /fixture: 68 get: 69 responses: 70 200: 71 description: OK