Union type.
IOneOf represents a union type in TypeScript (A | B | C).
IOneOf
A | B | C
For reference, even though your Swagger (or OpenAPI) document has defined anyOf instead of the oneOf, AutoBeOpenApi forcibly converts it to oneOf type.
anyOf
oneOf
Optional
Discriminator info of the union type.
List of the union types.
Union type.
IOneOfrepresents a union type in TypeScript (A | B | C).For reference, even though your Swagger (or OpenAPI) document has defined
anyOfinstead of theoneOf, AutoBeOpenApi forcibly converts it tooneOftype.