|
@@ -93,6 +93,7 @@ public class ApiInfoHolder implements ApplicationRunner {
|
|
ApiId apiId = handlerMethod.getMethodAnnotation(ApiId.class);
|
|
ApiId apiId = handlerMethod.getMethodAnnotation(ApiId.class);
|
|
WithoutStackTrace withoutStackTrace = handlerMethod
|
|
WithoutStackTrace withoutStackTrace = handlerMethod
|
|
.getMethodAnnotation(WithoutStackTrace.class);
|
|
.getMethodAnnotation(WithoutStackTrace.class);
|
|
|
|
+ Naked naked = handlerMethod.getMethodAnnotation(Naked.class);
|
|
|
|
|
|
ApiOperation apiOperation = handlerMethod.getMethodAnnotation(ApiOperation.class);
|
|
ApiOperation apiOperation = handlerMethod.getMethodAnnotation(ApiOperation.class);
|
|
|
|
|
|
@@ -141,6 +142,9 @@ public class ApiInfoHolder implements ApplicationRunner {
|
|
if (null != withoutStackTrace) {
|
|
if (null != withoutStackTrace) {
|
|
apiInfo.setWithoutStackTrace(withoutStackTrace.value());
|
|
apiInfo.setWithoutStackTrace(withoutStackTrace.value());
|
|
}
|
|
}
|
|
|
|
+ if (null != naked) {
|
|
|
|
+ apiInfo.setNaked(naked.value());
|
|
|
|
+ }
|
|
|
|
|
|
if (null != apiId) {
|
|
if (null != apiId) {
|
|
if (apiIdSet.contains(apiId.value())) {
|
|
if (apiIdSet.contains(apiId.value())) {
|