Add Contributor
This commit is contained in:
parent
2fc4d27d6e
commit
30b1bb7ce1
|
@ -179,6 +179,7 @@ Thanks to the following people who have submitted major pull requests:
|
|||
- [@zuonidelaowang](https://github.com/zuonidelaowang)
|
||||
- [@su-qiu](https://github.com/su-qiu)
|
||||
- [@qinkangdeid](https://github.com/qinkangdeid)
|
||||
- [@br7roy](https://github.com/br7roy)
|
||||
## Other reference
|
||||
- [Smart-doc manual](https://github.com/shalousun/smart-doc/wiki)
|
||||
|
||||
|
|
|
@ -162,6 +162,7 @@ mvn clean install -Dmaven.test.skip=true
|
|||
- [@zuonidelaowang](https://github.com/zuonidelaowang)
|
||||
- [@su-qiu](https://github.com/su-qiu)
|
||||
- [@qinkangdeid](https://github.com/qinkangdeid)
|
||||
- [@br7roy](https://github.com/br7roy)
|
||||
## Other reference
|
||||
- [smart-doc功能使用介绍](https://my.oschina.net/u/1760791/blog/2250962)
|
||||
- [smart-doc官方wiki](https://gitee.com/sunyurepository/smart-doc/wikis/Home?sort_id=1652800)
|
||||
|
|
|
@ -171,7 +171,7 @@ public class JsonBuildHelper {
|
|||
}
|
||||
List<JavaAnnotation> annotations = field.getAnnotations();
|
||||
for (JavaAnnotation annotation : annotations) {
|
||||
String annotationName = annotation.getType().getSimpleName();
|
||||
String annotationName = annotation.getType().getName();
|
||||
if (DocAnnotationConstants.SHORT_JSON_IGNORE.equals(annotationName) && isResp) {
|
||||
continue out;
|
||||
} else if (DocAnnotationConstants.SHORT_JSON_FIELD.equals(annotationName) && isResp) {
|
||||
|
|
|
@ -226,7 +226,7 @@ public class SpringBootDocBuildTemplate implements IDocBuildTemplate {
|
|||
List<JavaAnnotation> annotations = parameter.getAnnotations();
|
||||
boolean paramAdded = false;
|
||||
for (JavaAnnotation annotation : annotations) {
|
||||
String annotationName = annotation.getType().getSimpleName();
|
||||
String annotationName = JavaClassUtil.getAnnotationSimpleName(annotation.getType().getName());
|
||||
String fullName = annotation.getType().getSimpleName();
|
||||
if (!springMvcRequestAnnotations.contains(fullName) || paramAdded) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue