Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix Filter

  • Loading branch information...
commit 5b3b8af93ee2de57071106657dce2237948750a1 1 parent cc2f821
@hoegertn authored
View
4 src/main/java/org/restdoc/server/impl/AbstractRestDocFilter.java
@@ -103,6 +103,7 @@ private void addResourcesOfClass(Class<?> apiClass) {
final Method[] methods = apiClass.getMethods();
for (final Method method : methods) {
if (method.isAnnotationPresent(org.restdoc.server.impl.annotations.RestDoc.class)) {
+ this.logger.info("Generating RestDoc of method: " + method.toString());
this.addResourceMethod(basepath, method);
}
}
@@ -267,8 +268,9 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha
} else {
chain.doFilter(request, response);
}
+ } else {
+ chain.doFilter(request, response);
}
- chain.doFilter(request, response);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.