[T] OneOfDecorator
type OneOfDecorator = (context, target) => void;Specify that oneOf should be used instead of anyOf for that union.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
context | DecoratorContext |
target | Union | ModelProperty |
Returns
Section titled “Returns”void