Class SpincastSwaggerUiConfigDefault
java.lang.Object
org.spincast.plugins.swagger.ui.config.SpincastSwaggerUiConfigDefault
- All Implemented Interfaces:
SpincastSwaggerUiConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe absolute URL or relative path to the Open API specifications file.The URL path the Swagger UI will be served on.boolean
Iftrue
, the top bar of the UI will be shown.
-
Constructor Details
-
SpincastSwaggerUiConfigDefault
public SpincastSwaggerUiConfigDefault()
-
-
Method Details
-
getSwaggerUiPath
Description copied from interface:SpincastSwaggerUiConfig
The URL path the Swagger UI will be served on.Defaults to "/swagger-ui"
- Specified by:
getSwaggerUiPath
in interfaceSpincastSwaggerUiConfig
-
getOpenApiSpecificationsUrl
Description copied from interface:SpincastSwaggerUiConfig
The absolute URL or relative path to the Open API specifications file.Defaults to "https://petstore.swagger.io/v2/swagger.json"
- Specified by:
getOpenApiSpecificationsUrl
in interfaceSpincastSwaggerUiConfig
-
showTopBar
public boolean showTopBar()Description copied from interface:SpincastSwaggerUiConfig
Iftrue
, the top bar of the UI will be shown.Defaults to
false
.- Specified by:
showTopBar
in interfaceSpincastSwaggerUiConfig
-