Skip to content

[T] ContentMediaTypeDecorator

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

Specify the content type of content stored in a string.

Parameters

ParameterTypeDescription
contextDecoratorContext-
targetScalar | ModelProperty-
valuestringthe media type of the string contents

Returns

void