Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-openapi-spi</artifactId>
<artifactId>quarkus-smallrye-openapi-deployment</artifactId>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why deployment? @OpenApiFilter is in the runtime library.

Suggested change
<artifactId>quarkus-smallrye-openapi-deployment</artifactId>
<artifactId>quarkus-smallrye-openapi</artifactId>

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment modules usually depend on other extension's deployment modules

</dependency>

<dependency>
Expand Down Expand Up @@ -86,4 +86,4 @@
</plugins>
</build>

</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
import org.eclipse.microprofile.openapi.models.tags.Tag;

import io.quarkiverse.loggingmanager.LogController;
import io.quarkus.smallrye.openapi.OpenApiFilter;

/**
* Create OpenAPI entries (if configured)
*/
@OpenApiFilter(value = OpenApiFilter.RunStage.BOTH, priority = 99)
public class LoggingManagerOpenAPIFilter implements OASFilter {

private static final String JSON_CONTENT_TYPE = "application/json";
Expand Down Expand Up @@ -140,4 +142,4 @@ private PathItem createLevelsPathItem() {
.items(OASFactory.createSchema().ref(REF_LOGGER_LEVEL))))))));
}

}
}
6 changes: 5 additions & 1 deletion runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-vertx-http</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-openapi</artifactId>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -57,4 +61,4 @@
</plugin>
</plugins>
</build>
</project>
</project>