Union type.
IOneOf represents an union type of the TypeScript (A | B | C).
IOneOf
A | B | C
For reference, even though your Swagger (or OpenAPI) document has defined anyOf instead of the oneOf, OpenApi forcibly converts it to oneOf type.
anyOf
oneOf
Union type.
IOneOf
represents an union type of the TypeScript (A | B | C
).For reference, even though your Swagger (or OpenAPI) document has defined
anyOf
instead of theoneOf
, OpenApi forcibly converts it tooneOf
type.