public class SpincastSwaggerUiConfigDefault extends Object implements SpincastSwaggerUiConfig
| Constructor and Description |
|---|
SpincastSwaggerUiConfigDefault() |
| Modifier and Type | Method and Description |
|---|---|
String |
getOpenApiSpecificationsUrl()
The absolute URL or relative path to the Open API
specifications file.
|
String |
getSwaggerUiPath()
The URL path the Swagger UI will be served on.
|
boolean |
showTopBar()
If
true, the top bar of the UI
will be shown. |
public String getSwaggerUiPath()
SpincastSwaggerUiConfigDefaults to "/swagger-ui"
getSwaggerUiPath in interface SpincastSwaggerUiConfigpublic String getOpenApiSpecificationsUrl()
SpincastSwaggerUiConfigDefaults to "https://petstore.swagger.io/v2/swagger.json"
getOpenApiSpecificationsUrl in interface SpincastSwaggerUiConfigpublic boolean showTopBar()
SpincastSwaggerUiConfigtrue, the top bar of the UI
will be shown.
Defaults to false.
showTopBar in interface SpincastSwaggerUiConfigCopyright © 2019. All rights reserved.