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

     1  ---
     2  swagger: "2.0"
     3  info:
     4    title: Item API
     5    description: Item API
     6    version: "1.0.0"
     7  host: item.api.local
     8  basePath: /v1
     9  securityDefinitions:
    10    key:
    11      type: apiKey
    12      name: x-item-token
    13      in: header
    14  security:
    15    - key: []
    16  consumes:
    17    - application/json
    18  produces:
    19    - application/json
    20  schemes:
    21    - http
    22  paths:
    23    /item:
    24      get:
    25        operationId: GetItem
    26        parameters:
    27          - name: body
    28            in: body
    29            required: true
    30            schema:
    31              $ref: "item.yaml"
    32        responses:
    33          204:
    34            description: item detail response