github.com/kaisawind/go-swagger@v0.19.0/fixtures/bugs/763/swagger.yml (about)

     1  swagger: '2.0'
     2  info:
     3    title: Test
     4    description: Test Service
     5    version: '1.0.0'
     6  host: localhost
     7  basePath: /
     8  produces:
     9    - application/json
    10  schemes:
    11    - http
    12  paths:
    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'
    21  definitions:
    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