Class SpincastSwaggerUiConfigDefault
java.lang.Object
org.spincast.plugins.swagger.ui.config.SpincastSwaggerUiConfigDefault
- All Implemented Interfaces:
SpincastSwaggerUiConfig
-
Constructor Summary
Constructors -
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.booleanIftrue, the top bar of the UI will be shown.
-
Constructor Details
-
SpincastSwaggerUiConfigDefault
public SpincastSwaggerUiConfigDefault()
-
-
Method Details
-
getSwaggerUiPath
Description copied from interface:SpincastSwaggerUiConfigThe URL path the Swagger UI will be served on.Defaults to "/swagger-ui"
- Specified by:
getSwaggerUiPathin interfaceSpincastSwaggerUiConfig
-
getOpenApiSpecificationsUrl
Description copied from interface:SpincastSwaggerUiConfigThe absolute URL or relative path to the Open API specifications file.Defaults to "https://petstore.swagger.io/v2/swagger.json"
- Specified by:
getOpenApiSpecificationsUrlin interfaceSpincastSwaggerUiConfig
-
showTopBar
public boolean showTopBar()Description copied from interface:SpincastSwaggerUiConfigIftrue, the top bar of the UI will be shown.Defaults to
false.- Specified by:
showTopBarin interfaceSpincastSwaggerUiConfig
-