OpenAPI Bugfix: []byte should be treated as integer array

This commit is contained in:
mbohlool
2016-11-17 21:22:02 -08:00
parent cae6cf2cee
commit 02631bb7ff
2 changed files with 16 additions and 13 deletions

View File

@@ -12324,15 +12324,8 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
AdditionalProperties: &spec.SchemaOrBool{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Type: []string{"array"},
Items: &spec.SchemaOrArray{
Schema: &spec.Schema{
SchemaProps: spec.SchemaProps{
Type: []string{"integer"},
Format: "byte",
},
},
},
Type: []string{"string"},
Format: "byte",
},
},
},