Merge pull request #157 from durian530/master
support spring annotation @RequestAttribute
This commit is contained in:
commit
38026fc3c8
|
@ -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