From 1c54ff27c4a1fcd9a5b306ad0c7a5b0d7da4ee6e Mon Sep 17 00:00:00 2001 From: tnextday Date: Thu, 18 Aug 2016 21:24:54 +0800 Subject: [PATCH] update swagger define --- swagger/swagger.go | 1 + 1 file changed, 1 insertion(+) diff --git a/swagger/swagger.go b/swagger/swagger.go index d585e9d9..17429d3c 100644 --- a/swagger/swagger.go +++ b/swagger/swagger.go @@ -121,6 +121,7 @@ type Propertie struct { Format string `json:"format,omitempty"` ReadOnly bool `json:"readOnly,omitempty"` Properties map[string]Propertie `json:"properties,omitempty"` + Items []Propertie `json:"items,omitempty"` AdditionalProperties *Propertie `json:"additionalProperties,omitempty"` }