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