Union type.
IOneOf represents a union type in TypeScript (A | B | C).
IOneOf
A | B | C
For reference, even if your Swagger (or OpenAPI) document defines anyOf instead of oneOf, OpenApi forcibly converts it to oneOf type.
anyOf
oneOf
Union type.
IOneOfrepresents a union type in TypeScript (A | B | C).For reference, even if your Swagger (or OpenAPI) document defines
anyOfinstead ofoneOf, OpenApi forcibly converts it tooneOftype.