Bugfix: OpenAPI-gen was not generating extensions correctly

This commit is contained in:
mbohlool
2017-03-16 14:31:20 -07:00
parent 67a6c68d77
commit 6dd38a4350
2 changed files with 12 additions and 12 deletions

View File

@@ -227,7 +227,7 @@ Format: "byte",
},
},
"WithExtension": {
spec.VendorExtensible: {
VendorExtensible: spec.VendorExtensible{
Extensions: spec.Extensions{
"x-kubernetes-member-tag": "member_test",
},
@@ -241,15 +241,15 @@ Format: "",
},
Required: []string{"String","Int64","Int32","Int16","Int8","Uint","Uint64","Uint32","Uint16","Uint8","Byte","Bool","Float64","Float32","ByteArray","WithExtension"},
},
},
Dependencies: []string{
},
spec.VendorExtensible: {
VendorExtensible: spec.VendorExtensible{
Extensions: spec.Extensions{
"x-kubernetes-type-tag": "type_test",
},
},
},
Dependencies: []string{
},
},
`, buffer.String())
}