diff --git a/src/main/java/com/power/doc/constants/SpringMvcAnnotations.java b/src/main/java/com/power/doc/constants/SpringMvcAnnotations.java index f305fc0..9a4d73a 100644 --- a/src/main/java/com/power/doc/constants/SpringMvcAnnotations.java +++ b/src/main/java/com/power/doc/constants/SpringMvcAnnotations.java @@ -52,4 +52,6 @@ public interface SpringMvcAnnotations { String PATH_VARIABLE = "PathVariable"; String SESSION_ATTRIBUTE = "SessionAttribute"; + + String REQUEST_ATTRIBUTE="RequestAttribute"; } diff --git a/src/main/java/com/power/doc/template/SpringBootDocBuildTemplate.java b/src/main/java/com/power/doc/template/SpringBootDocBuildTemplate.java index 12dab79..b7a1f45 100644 --- a/src/main/java/com/power/doc/template/SpringBootDocBuildTemplate.java +++ b/src/main/java/com/power/doc/template/SpringBootDocBuildTemplate.java @@ -487,6 +487,10 @@ public class SpringBootDocBuildTemplate implements IDocBuildTemplate { if (SpringMvcAnnotations.SESSION_ATTRIBUTE.equals(annotationName)) { continue out; } + if(SpringMvcAnnotations.REQUEST_ATTRIBUTE.equals(annotationName)) + { + continue out; + } if (SpringMvcAnnotations.REQUEST_HERDER.equals(annotationName)) { continue out; } @@ -782,6 +786,10 @@ public class SpringBootDocBuildTemplate implements IDocBuildTemplate { if (SpringMvcAnnotations.SESSION_ATTRIBUTE.equals(annotationName)) { continue out; } + if(SpringMvcAnnotations.REQUEST_ATTRIBUTE.equals(annotationName)) + { + continue out; + } if (SpringMvcAnnotations.REQUEST_HERDER.equals(annotationName)) { continue out; }