...

Text file src/github.com/go-openapi/analysis/fixtures/bugs/1851/fixture-1851.yaml

Documentation: github.com/go-openapi/analysis/fixtures/bugs/1851

     1swagger: '2.0'
     2
     3info:
     4  title: 'Title'
     5  version: '1.0'
     6
     7paths:
     8  '/':
     9    get:
    10      responses:
    11        200:
    12          description: OK response
    13          schema:
    14            $ref: '#/definitions/Response'
    15    post:
    16      parameters:
    17        - in: body
    18          schema:
    19            $ref: '#/definitions/Request'
    20          name: filter
    21      responses:
    22        200:
    23          description: OK response
    24          schema:
    25            $ref: '#/definitions/Response'
    26
    27definitions:
    28  Response:
    29    type: object
    30    properties:
    31      Server:
    32        type: array
    33        items:
    34          $ref: 'definitions.yaml#/definitions/Server'
    35  Request:
    36    type: object
    37    properties:
    38      ServerStatus:
    39        $ref: 'definitions.yaml#/definitions/ServerStatus'

View as plain text