github.com/emreu/go-swagger@v0.22.1/fixtures/bugs/1893/fixture-1893.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    paths:
    11      /getRecords:
    12        get:
    13          operationId: getRecords
    14          parameters:
    15            - name: records
    16              in: body
    17              required: true
    18              schema:
    19                type: array
    20                items:
    21                  type: object
    22          responses:
    23            default:
    24              description: "OK"
    25            200:
    26              description: "OK"
    27            512:
    28              description: "512"
    29            515:
    30              description: "515"