Tweaking a bit the default UI resolution processas suggested by Vadim Beilin
@@ -52,7 +52,7 @@ public class SwaggerUiResolver {
return root;
}
}
- } else {
+ }
Enumeration<URL> urls = cl.getResources(UI_RESOURCES_ROOT_START);
while (urls.hasMoreElements()) {
String urlStr = urls.nextElement().toString().replace(UI_RESOURCES_ROOT_START, "");
@@ -61,7 +61,6 @@ public class SwaggerUiResolver {
return root;
}
}
- }
} catch (Throwable ex) {
// ignore
}
