SchemaContract.ContentType Property

Definition

Gets or sets must be a valid a media type used in a Content-Type header as defined in the RFC 2616. Media type of the schema document (e.g. application/json, application/xml). </br> - Swagger Schema use application/vnd.ms-azure-apim.swagger.definitions+json </br> - WSDL Schema use application/vnd.ms-azure-apim.xsd+xml </br> - OpenApi Schema use application/vnd.oai.openapi.components+json </br> - WADL Schema use application/vnd.ms-azure-apim.wadl.grammars+xml.

[Newtonsoft.Json.JsonProperty(PropertyName="properties.contentType")]
public string ContentType { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.contentType")>]
member this.ContentType : string with get, set
Public Property ContentType As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to