...

Text file src/github.com/go-openapi/validate/fixtures/go-swagger/bugs/776/param.yaml

Documentation: github.com/go-openapi/validate/fixtures/go-swagger/bugs/776

     1---
     2swagger: "2.0"
     3info:
     4  title: Item API
     5  description: Item API
     6  version: "1.0.0"
     7host: item.api.local
     8basePath: /v1
     9securityDefinitions:
    10  key:
    11    type: apiKey
    12    name: x-item-token
    13    in: header
    14security:
    15  - key: []
    16consumes:
    17  - application/json
    18produces:
    19  - application/json
    20schemes:
    21  - http
    22paths:
    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

View as plain text