List of the union types.
Optional
deprecatedWhether the type is deprecated or not.
Optional
descriptionDetailed description of the schema.
Optional
exampleExample value.
Optional
examplesList of example values as key-value pairs.
Optional
titleTitle of the schema.
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
, IChatGptSchema forcibly converts it tooneOf
type.