Package org.apache.cxf.jaxrs.swagger.ui
Class SwaggerUiResourceLocator
java.lang.Object
org.apache.cxf.jaxrs.swagger.ui.SwaggerUiResourceLocator
Swagger UI resource locator
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SwaggerUiResourceLocator
-
-
Method Details
-
locate
Locate Swagger UI resource corresponding to resource path- Parameters:
resourcePath- resource path- Returns:
- Swagger UI resource URL
- Throws:
MalformedURLException
-
exists
Checks the existence of the Swagger UI resource corresponding to resource path- Parameters:
resourcePath- resource path- Returns:
- "true" if Swagger UI resource exists, "false" otherwise
-