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.

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

void