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

SwaggerController 类

定义

[Microsoft.Azure.WebJobs.Script.WebHost.Filters.SystemAuthorizationLevel("swaggerdocumentationkey")]
public class SwaggerController : System.Web.Http.ApiController
[<Microsoft.Azure.WebJobs.Script.WebHost.Filters.SystemAuthorizationLevel("swaggerdocumentationkey")>]
type SwaggerController = class
    inherit ApiController
Public Class SwaggerController
Inherits ApiController
继承
SwaggerController
属性

构造函数

SwaggerController(ISwaggerDocumentManager, WebScriptHostManager, TraceWriter, ILoggerFactory)

方法

AddOrUpdateSwaggerDocumentAsync(JObject)
DeleteSwaggerDocumentAsync()
GetGeneratedSwaggerDocument()
GetSwaggerDocumentAsync()

适用于