github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/2471/fixture-2471.yaml (about)

     1  swagger: '2.0'
     2  basePath: /
     3  host: localhost
     4  info:
     5    version: 0.1.0
     6    title: Reproducer
     7    description: |
     8      Reproducer for https://github.com/thetreep/go-swagger/issues/2471
     9  consumes:
    10    - application/json
    11  produces:
    12    - plain/text
    13  schemes:
    14    - http
    15  paths:
    16    /example/{FooPath}:
    17      post:
    18          summary: example
    19          description: ''
    20          operationId: examplePost
    21          parameters:
    22            - name: Foo
    23              in: header
    24              type: array
    25              required: false
    26              items:
    27                type: string
    28              description: 'a reproducer for this ticket'
    29            - name: FooQuery
    30              in: query
    31              type: array
    32              required: false
    33              items:
    34                type: string
    35            - name: FooPath
    36              in: path
    37              type: array
    38              required: true
    39              items:
    40                type: string
    41          responses:
    42            '201':
    43              description: OK