Class SwaggerUIOptions
- Namespace
- Swashbuckle.AspNetCore.SwaggerUI
- Assembly
- Swashbuckle.AspNetCore.SwaggerUI.dll
public class SwaggerUIOptions
- Inheritance
-
SwaggerUIOptions
- Inherited Members
- Extension Methods
Constructors
SwaggerUIOptions()
public SwaggerUIOptions()
Properties
ConfigObject
Gets the JavaScript config object, represented as JSON, that will be passed to the SwaggerUI
public ConfigObject ConfigObject { get; set; }
Property Value
DocumentTitle
Gets or sets a title for the swagger-ui page
public string DocumentTitle { get; set; }
Property Value
HeadContent
Gets or sets additional content to place in the head of the swagger-ui page
public string HeadContent { get; set; }
Property Value
IndexStream
Gets or sets a Stream function for retrieving the swagger-ui page
public Func<Stream> IndexStream { get; set; }
Property Value
OAuthConfigObject
Gets the JavaScript config object, represented as JSON, that will be passed to the initOAuth method
public OAuthConfigObject OAuthConfigObject { get; set; }
Property Value
RoutePrefix
Gets or sets a route prefix for accessing the swagger-ui
public string RoutePrefix { get; set; }