We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb07987 commit 20a3000Copy full SHA for 20a3000
src/main/java/unquietcode/tools/flapi/annotations/AnnotationIntrospector.java
@@ -81,8 +81,17 @@ public static DescriptorOutline createDescriptor(Class<?> clazz) {
81
82
// discover methods and set them on the blocks
83
AnnotationIntrospector introspector = new AnnotationIntrospector();
84
+
85
+ // class
86
boolean found = introspector.handleClass(descriptor, clazz);
87
88
+ // interfaces (interface extensions are handled automatically by Spring)
89
+ if (!clazz.isInterface()) {
90
+ for (Class<?> intf : clazz.getInterfaces()) {
91
+ found |= introspector.handleClass(descriptor, intf);
92
+ }
93
94
95
if (found) {
96
return descriptor;
97
}
0 commit comments