...

Text file src/github.com/go-openapi/validate/fixtures/local_expansion/spec.yaml

Documentation: github.com/go-openapi/validate/fixtures/local_expansion

     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      responses:
    27        200:
    28          description: item detail response
    29          schema:
    30            "$ref": "item.yaml"

View as plain text