github.com/emreu/go-swagger@v0.22.1/fixtures/bugs/1937/fixture-1937.yaml (about)

     1  ---
     2    swagger: "2.0"
     3    info:
     4      title: "error codes >= 512"
     5      version: "0.0.1"
     6      description: "repro issue 1893"
     7      license:
     8        name: "Apache 2.0"
     9        url: "http://www.apache.org/licenses/LICENSE-2.0.html"
    10    definitions:
    11      400Schema:
    12        type: string
    13    paths:
    14      /getRecords:
    15        get:
    16          operationId: getRecords
    17          parameters:
    18            - name: 101param
    19              type: string
    20              in: query
    21            - name: records
    22              in: body
    23              required: true
    24              schema:
    25                $ref: '#/definitions/400Schema'
    26          responses:
    27            200:
    28              description: "OK"
    29              headers:
    30                101header:
    31                  type: string
    32              schema:
    33                $ref: '#/definitions/400Schema'
    34