Class SwaggerUiResourceLocator


  • public class SwaggerUiResourceLocator
    extends Object
    Swagger UI resource locator
    • Constructor Detail

      • SwaggerUiResourceLocator

        public SwaggerUiResourceLocator​(String swaggerUiRoot)
    • Method Detail

      • exists

        public boolean exists​(String resourcePath)
        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