...

Text file src/github.com/go-openapi/validate/fixtures/go-swagger/bugs/763/swagger.yml

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

     1swagger: '2.0'
     2info:
     3  title: Test
     4  description: Test Service
     5  version: '1.0.0'
     6host: localhost
     7basePath: /
     8produces:
     9  - application/json
    10schemes:
    11  - http
    12paths:
    13  /myMethod:
    14    get:
    15      operationId: get_test
    16      summary: Get a list of int32s.
    17      responses:
    18        200:
    19          schema:
    20            $ref: '#/definitions/test_list'
    21definitions:
    22  test_list:
    23    type: object
    24    properties:
    25      the_array:
    26        type: array
    27        items:
    28          minimum: 0
    29          maximum: 10
    30          type: integer
    31          format: int32

View as plain text