...

Text file src/github.com/go-openapi/validate/fixtures/go-swagger/bugs/1289/fixture-1289.yaml

Documentation: github.com/go-openapi/validate/fixtures/go-swagger/bugs/1289

     1swagger: '2.0'
     2info:
     3  title: issue-1289
     4  version: '1.0'
     5  license:
     6    name: MIT
     7host: localhost:8081
     8basePath: /api/v1
     9schemes:
    10  - http
    11consumes:
    12  - application/json
    13produces:
    14  - application/json
    15paths:
    16  /servers/getSomeIds:
    17    get:
    18      operationId: getSomeIdsOps
    19      parameters:
    20        - name: getSomeIds
    21          in: body
    22          required: true
    23          schema:
    24            type: object
    25            properties:
    26              someIds:
    27                $ref: '#/definitions/someIds'
    28                type: array
    29      responses:
    30        '200':
    31definitions:
    32  someIds:
    33    type: array
    34    example:
    35      - 413,
    36      - 231,
    37      - 777
    38    default:
    39      - 413,
    40      - 231,
    41      - 777
    42    items: 
    43      type: number

View as plain text