[T] ContentMediaTypeDecorator
type ContentMediaTypeDecorator = (context, target, value) => void;
Specify the content type of content stored in a string.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
context | DecoratorContext | - |
target | Scalar | ModelProperty | - |
value | string | The media type of the string contents |
Returns
Section titled “Returns”void