你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SwaggerController.AddOrUpdateSwaggerDocumentAsync(JObject) 方法

定义

[System.Web.Http.HttpPost]
[System.Web.Http.Route("admin/host/swagger")]
public System.Threading.Tasks.Task<System.Web.Http.IHttpActionResult> AddOrUpdateSwaggerDocumentAsync(Newtonsoft.Json.Linq.JObject swaggerDocumentJson);
[<System.Web.Http.HttpPost>]
[<System.Web.Http.Route("admin/host/swagger")>]
member this.AddOrUpdateSwaggerDocumentAsync : Newtonsoft.Json.Linq.JObject -> System.Threading.Tasks.Task<System.Web.Http.IHttpActionResult>
Public Function AddOrUpdateSwaggerDocumentAsync (swaggerDocumentJson As JObject) As Task(Of IHttpActionResult)

参数

swaggerDocumentJson
Newtonsoft.Json.Linq.JObject

返回

Task<System.Web.Http.IHttpActionResult>
属性
System.Web.Http.HttpPostAttribute System.Web.Http.RouteAttribute

适用于