Skip to content

[T] ContentSchemaDecorator

type ContentSchemaDecorator: (context, target, value) => void;

Specify the schema for the contents of a string when interpreted according to the contentโ€™s media type and encoding.

Parameters

ParameterTypeDescription
contextDecoratorContext-
targetScalar | ModelProperty-
valueTypethe schema of the string contents

Returns

void