github.com/kaisawind/go-swagger@v0.19.0/fixtures/bugs/342/fixture-342.yaml (about)

     1  swagger: '2.0'
     2  info:
     3    title: issue-342
     4    version: 0.0.1
     5    license:
     6      name: MIT
     7  host: localhost:8081
     8  basePath: /api/v1
     9  schemes:
    10    - http
    11  consumes:
    12    - application/json
    13  produces:
    14    - application/json
    15  paths:
    16    /get_main_object:
    17      get:
    18        tags:
    19          - maindata
    20        parameters:
    21          - name: sid
    22            in: body
    23            required: true
    24            $ref: "#/definitions/sample_info/properties/sid"  
    25        responses:
    26          '200':
    27  
    28  definitions:
    29    sample_info:
    30      type: object
    31      properties:
    32        sid:
    33          type: string
    34