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 PATH_VARIABLE = "PathVariable";
|
||||||
|
|
||||||
String SESSION_ATTRIBUTE = "SessionAttribute";
|
String SESSION_ATTRIBUTE = "SessionAttribute";
|
||||||
|
|
||||||
|
String REQUEST_ATTRIBUTE="RequestAttribute";
|
||||||
}
|
}
|
||||||
|
|
|
@ -487,6 +487,10 @@ public class SpringBootDocBuildTemplate implements IDocBuildTemplate<ApiDoc> {
|
||||||
if (SpringMvcAnnotations.SESSION_ATTRIBUTE.equals(annotationName)) {
|
if (SpringMvcAnnotations.SESSION_ATTRIBUTE.equals(annotationName)) {
|
||||||
continue out;
|
continue out;
|
||||||
}
|
}
|
||||||
|
if(SpringMvcAnnotations.REQUEST_ATTRIBUTE.equals(annotationName))
|
||||||
|
{
|
||||||
|
continue out;
|
||||||
|
}
|
||||||
if (SpringMvcAnnotations.REQUEST_HERDER.equals(annotationName)) {
|
if (SpringMvcAnnotations.REQUEST_HERDER.equals(annotationName)) {
|
||||||
continue out;
|
continue out;
|
||||||
}
|
}
|
||||||
|
@ -782,6 +786,10 @@ public class SpringBootDocBuildTemplate implements IDocBuildTemplate<ApiDoc> {
|
||||||
if (SpringMvcAnnotations.SESSION_ATTRIBUTE.equals(annotationName)) {
|
if (SpringMvcAnnotations.SESSION_ATTRIBUTE.equals(annotationName)) {
|
||||||
continue out;
|
continue out;
|
||||||
}
|
}
|
||||||
|
if(SpringMvcAnnotations.REQUEST_ATTRIBUTE.equals(annotationName))
|
||||||
|
{
|
||||||
|
continue out;
|
||||||
|
}
|
||||||
if (SpringMvcAnnotations.REQUEST_HERDER.equals(annotationName)) {
|
if (SpringMvcAnnotations.REQUEST_HERDER.equals(annotationName)) {
|
||||||
continue out;
|
continue out;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue