github.com/emreu/go-swagger@v0.22.1/fixtures/bugs/1437/fixture-1437-3.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    aListOfDates:
    17      type: array
    18      items:
    19        type: string
    20        format: date
    21    myObject:
    22      type: object 
    23      properties:
    24        thisListOfDates:
    25          $ref: '#/definitions/aListOfDates'      #<- there is still (another) a bug to validate this
    26  paths:
    27  paths:
    28    /fixture:
    29      get:
    30        responses:
    31          200:
    32            description: OK