new test case to cover model with array properties

This commit is contained in:
wing328
2016-05-25 01:18:50 +08:00
parent d0770d25f5
commit 105b4b9199
6 changed files with 264 additions and 1 deletions

View File

@@ -971,6 +971,25 @@ definitions:
readOnly: true
baz:
type: string
ArrayTest:
type: object
array_of_string:
type: array
items:
type: string
array_array_of_integer:
type: array
items:
type: array
items:
type: integer
format: int64
array_array_of_model:
type: array
items:
type: array
items:
$ref: '#/definitions/ReadOnlyFirst'
externalDocs:
description: Find out more about Swagger
url: 'http://swagger.io'