minor fix to DocsGenertor class
This commit is contained in:
parent
e0a3e9f516
commit
ea37bcb93c
|
@ -27,9 +27,14 @@ public class DocsGenerator {
|
|||
logger.debug("pathInfo {}", pathInfo);
|
||||
try {
|
||||
|
||||
if (pathInfo.endsWith("/api-docs")) {
|
||||
pathInfo += "/index.html";
|
||||
}
|
||||
if (pathInfo.endsWith("/api-docs")) {
|
||||
pathInfo += "index.html";
|
||||
}
|
||||
|
||||
if (pathInfo.endsWith("/api-docs/")) {
|
||||
pathInfo += "index.html";
|
||||
}
|
||||
|
||||
|
||||
logger.info("going to {}", pathInfo);
|
||||
|
||||
|
|
Loading…
Reference in New Issue