Udostępnij za pośrednictwem


SwaggerController.AddOrUpdateSwaggerDocumentAsync(JObject) Metoda

Definicja

[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)

Parametry

swaggerDocumentJson
Newtonsoft.Json.Linq.JObject

Zwraca

Task<System.Web.Http.IHttpActionResult>
Atrybuty
System.Web.Http.HttpPostAttribute System.Web.Http.RouteAttribute

Dotyczy