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, AutoBeOpenApi forcibly converts it to oneOf type.
anyOf
oneOf
Optional
Discriminator info of the union type.
List of the union types.
Union type.
IOneOfrepresents an union type of the TypeScript (A | B | C).For reference, even though your Swagger (or OpenAPI) document has defined
anyOfinstead of theoneOf, AutoBeOpenApi forcibly converts it tooneOftype.