共用方式為


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

適用於