mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 13:02:14 +00:00
Add interface{} to openapi basic types
This commit is contained in:
parent
9590b94f7c
commit
2413fe15ee
@ -144,6 +144,7 @@ func GetOpenAPITypeFormat(typeName string) (string, string) {
|
||||
"number": {"number", ""},
|
||||
"boolean": {"boolean", ""},
|
||||
"[]byte": {"string", "byte"}, // base64 encoded characters
|
||||
"interface{}": {"object", ""},
|
||||
}
|
||||
mapped, ok := schemaTypeFormatMap[typeName]
|
||||
if !ok {
|
||||
|
Loading…
Reference in New Issue
Block a user