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