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)
|
- [@zuonidelaowang](https://github.com/zuonidelaowang)
|
||||||
- [@su-qiu](https://github.com/su-qiu)
|
- [@su-qiu](https://github.com/su-qiu)
|
||||||
- [@qinkangdeid](https://github.com/qinkangdeid)
|
- [@qinkangdeid](https://github.com/qinkangdeid)
|
||||||
|
- [@br7roy](https://github.com/br7roy)
|
||||||
## Other reference
|
## Other reference
|
||||||
- [Smart-doc manual](https://github.com/shalousun/smart-doc/wiki)
|
- [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)
|
- [@zuonidelaowang](https://github.com/zuonidelaowang)
|
||||||
- [@su-qiu](https://github.com/su-qiu)
|
- [@su-qiu](https://github.com/su-qiu)
|
||||||
- [@qinkangdeid](https://github.com/qinkangdeid)
|
- [@qinkangdeid](https://github.com/qinkangdeid)
|
||||||
|
- [@br7roy](https://github.com/br7roy)
|
||||||
## Other reference
|
## Other reference
|
||||||
- [smart-doc功能使用介绍](https://my.oschina.net/u/1760791/blog/2250962)
|
- [smart-doc功能使用介绍](https://my.oschina.net/u/1760791/blog/2250962)
|
||||||
- [smart-doc官方wiki](https://gitee.com/sunyurepository/smart-doc/wikis/Home?sort_id=1652800)
|
- [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();
|
List<JavaAnnotation> annotations = field.getAnnotations();
|
||||||
for (JavaAnnotation annotation : annotations) {
|
for (JavaAnnotation annotation : annotations) {
|
||||||
String annotationName = annotation.getType().getSimpleName();
|
String annotationName = annotation.getType().getName();
|
||||||
if (DocAnnotationConstants.SHORT_JSON_IGNORE.equals(annotationName) && isResp) {
|
if (DocAnnotationConstants.SHORT_JSON_IGNORE.equals(annotationName) && isResp) {
|
||||||
continue out;
|
continue out;
|
||||||
} else if (DocAnnotationConstants.SHORT_JSON_FIELD.equals(annotationName) && isResp) {
|
} else if (DocAnnotationConstants.SHORT_JSON_FIELD.equals(annotationName) && isResp) {
|
||||||
|
|
|
@ -226,7 +226,7 @@ public class SpringBootDocBuildTemplate implements IDocBuildTemplate {
|
||||||
List<JavaAnnotation> annotations = parameter.getAnnotations();
|
List<JavaAnnotation> annotations = parameter.getAnnotations();
|
||||||
boolean paramAdded = false;
|
boolean paramAdded = false;
|
||||||
for (JavaAnnotation annotation : annotations) {
|
for (JavaAnnotation annotation : annotations) {
|
||||||
String annotationName = annotation.getType().getSimpleName();
|
String annotationName = JavaClassUtil.getAnnotationSimpleName(annotation.getType().getName());
|
||||||
String fullName = annotation.getType().getSimpleName();
|
String fullName = annotation.getType().getSimpleName();
|
||||||
if (!springMvcRequestAnnotations.contains(fullName) || paramAdded) {
|
if (!springMvcRequestAnnotations.contains(fullName) || paramAdded) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue