github.com/kaisawind/go-swagger@v0.19.0/fixtures/bugs/1314/fixture-1314.yaml (about)

     1  swagger: '2.0'
     2  info:
     3    version: 0.0.0
     4    title: 'simple array parameter'
     5  paths:
     6    /resource//{IDs}:
     7      get:
     8        parameters:
     9        - $ref: '#/parameters/IDs'
    10        responses:
    11          default:
    12            description: ok
    13  
    14  parameters:
    15    IDs:
    16      name: IDs
    17      in: path
    18      description: A singele object ID or a comma seperated list of objects IDs.
    19      type: array
    20      items:
    21        type: string
    22      collectionFormat: csv
    23      minItems: 1
    24      uniqueItems: true
    25      required: true