SchemaContract.ContentType プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
取得または設定は、RFC 2616 で定義されている Content-Type ヘッダーで使用される有効なメディアの種類である必要があります。 スキーマ ドキュメントのメディアの種類 (application/json、application/xml など)。
</br> - Swagger
スキーマの使用application/vnd.ms-azure-apim.swagger.definitions+json
</br> - WSDL
スキーマの使用&application/vnd.ms-azure-apim.xsd+xml
lt;/br> - OpenApi
スキーマの使用&application/vnd.oai.openapi.components+json
lt;/br> - WADL Schema
を使用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
プロパティ値
- 属性
-
Newtonsoft.Json.JsonPropertyAttribute
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET