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