github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/fixtures/bugs/2096/fixture-2096.yaml (about)

     1  swagger: '2.0'
     2  info:
     3    version: '1.0.0'
     4    title: MyAPI
     5  
     6  schemes:
     7    - https
     8  consumes:
     9    - application/json
    10  produces:
    11    - application/json
    12  
    13  paths:
    14    /list:
    15      get:
    16        operationId: ListResources
    17        parameters:
    18          -
    19            name: fields
    20            in: query
    21            description: Resource fields to select
    22            type: array
    23            collectionFormat: csv
    24            uniqueItems: true
    25            items:
    26              type: string
    27            default:
    28              - first
    29              - second
    30              - third
    31        responses:
    32          200:
    33            description: OK