diff --git a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/ParserProcessor.java b/packages/java/maven-plugin/src/main/java/dev/hilla/maven/ParserProcessor.java index 57283434b0..9baf213511 100644 --- a/packages/java/maven-plugin/src/main/java/dev/hilla/maven/ParserProcessor.java +++ b/packages/java/maven-plugin/src/main/java/dev/hilla/maven/ParserProcessor.java @@ -87,7 +87,8 @@ public ParserProcessor plugins( public OpenAPI process() { var builder = new ParserConfig.Builder().classPath(classPath) - .endpointAnnotation(endpointAnnotationName); + .endpointAnnotation(endpointAnnotationName) + .endpointExposedAnnotation(endpointExposedAnnotationName); preparePlugins(builder); prepareOpenAPIBase(builder);