...

Text file src/github.com/go-openapi/validate/fixtures/go-swagger/bugs/776/swagger-template.yml

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

     1swagger: '2.0'
     2info:
     3  title: Test
     4  version: '1.0.0'
     5host: localhost
     6basePath: /
     7produces:
     8  - application/json
     9schemes:
    10  - http
    11paths:
    12  /healthy:
    13    get:
    14      operationId: getHealthy
    15      responses:
    16        default:
    17          description: Unexpected error
    18          schema:
    19            $ref: '#/definitions/Error'
    20definitions:
    21  Error:
    22    $ref: ./error.yaml#/definitions/Error

View as plain text