Skip to content

[T] OneOfDecorator

type OneOfDecorator: (context, target) => void;

Specify that oneOf should be used instead of anyOf for that union.

Parameters

ParameterType
contextDecoratorContext
targetUnion | ModelProperty

Returns

void