Table of Contents

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

ConfigObject

DocumentTitle

Gets or sets a title for the swagger-ui page

public string DocumentTitle { get; set; }

Property Value

string

HeadContent

Gets or sets additional content to place in the head of the swagger-ui page

public string HeadContent { get; set; }

Property Value

string

IndexStream

Gets or sets a Stream function for retrieving the swagger-ui page

public Func<Stream> IndexStream { get; set; }

Property Value

Func<Stream>

OAuthConfigObject

Gets the JavaScript config object, represented as JSON, that will be passed to the initOAuth method

public OAuthConfigObject OAuthConfigObject { get; set; }

Property Value

OAuthConfigObject

RoutePrefix

Gets or sets a route prefix for accessing the swagger-ui

public string RoutePrefix { get; set; }

Property Value

string