Closed austinvalle closed 10 months ago
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Currently the only multi-type supported is
null
+ any type, usingoneOf
,anyOf
, or a type array.A new use-case for multi-types could be supporting
string
+ any primitive, with the result defaulting toStringAttribute
, rather than throwing an error.The kubernetes OpenAPI spec has an example of this: https://github.com/kubernetes/kubernetes/blob/master/api/openapi-spec/v3/apis__apps__v1_openapi.json#L5092-L5102