add test case for number (decimal)

This commit is contained in:
wing328
2016-06-21 22:22:21 +08:00
parent fa3aacf4aa
commit 321dc0d41c
10 changed files with 311 additions and 0 deletions

View File

@@ -1005,6 +1005,27 @@ definitions:
type: array
items:
$ref: '#/definitions/ReadOnlyFirst'
NumberOnly:
type: object
properties:
JustNumber:
type: number
ArrayOfNumberOnly:
type: object
properties:
ArrayNumber:
type: array
items:
type: number
ArrayOfArrayOfNumberOnly:
type: object
properties:
ArrayArrayNumber:
type: array
items:
type: array
items:
type: number
externalDocs:
description: Find out more about Swagger
url: 'http://swagger.io'