swagger: '2.0' info: title: Test description: Test Service version: '1.0.0' host: localhost basePath: / produces: - application/json schemes: - http paths: /myMethod: get: operationId: get_test summary: Get a list of int32s. responses: 200: schema: $ref: '#/definitions/test_list' definitions: test_list: type: object properties: the_array: type: array items: minimum: 0 maximum: 10 type: integer format: int32