--- swagger: '2.0' info: title: 'fixture for issue #581' version: '1.0' description: | This one just to set a minimum/maximum valid case for non regression. It exersises, for numbers: - inline parameters - schema parameters - schema parameters through $ref - schema for response - schema object for response, with object and array - schema for response through $ref produces: - application/json paths: /fixture: get: operationId: op1 parameters: - name: myid in: body schema: $ref: '#/definitions/myId' responses: 200: description: 'response exercising number boundaries' schema: $ref: '#/definitions/someIds' 201: description: 'response exercising number boundaries' schema: type: number minimum: 0 maximum: 100 default: 0 401: description: 'response exercising number boundaries' schema: type: object properties: shortInt: type: number minimum: 0 maximum: 100 default: 0 shortIntList: type: array items: type: number minimum: 0 maximum: 100 default: 0 definitions: myId: type: object properties: smallId: type: number minimum: 0 maximum: 12 default: 10 format: uint64 someIds: type: object properties: smallId: type: number minimum: 0 maximum: 12 default: 10 format: uint64 smallIdList: type: array items: type: number minimum: 0 maximum: 100 default: 0