support spring annotation @RequestAttribute
This commit is contained in:
parent
bb3739b4de
commit
47c8a51400
|
@ -52,4 +52,6 @@ public interface SpringMvcAnnotations {
|
|||
String PATH_VARIABLE = "PathVariable";
|
||||
|
||||
String SESSION_ATTRIBUTE = "SessionAttribute";
|
||||
|
||||
String REQUEST_ATTRIBUTE="RequestAttribute";
|
||||
}
|
||||
|
|
|
@ -487,6 +487,10 @@ public class SpringBootDocBuildTemplate implements IDocBuildTemplate<ApiDoc> {
|
|||
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<ApiDoc> {
|
|||
if (SpringMvcAnnotations.SESSION_ATTRIBUTE.equals(annotationName)) {
|
||||
continue out;
|
||||
}
|
||||
if(SpringMvcAnnotations.REQUEST_ATTRIBUTE.equals(annotationName))
|
||||
{
|
||||
continue out;
|
||||
}
|
||||
if (SpringMvcAnnotations.REQUEST_HERDER.equals(annotationName)) {
|
||||
continue out;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue