github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/bugs/1851/fixture-1851.yaml (about)

     1  swagger: '2.0'
     2  
     3  info:
     4    title: 'Title'
     5    version: '1.0'
     6  
     7  paths:
     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  
    27  definitions:
    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'