add openapi/swagger

This commit is contained in:
2025-10-22 22:02:08 +02:00
parent 25dc00a6fa
commit 0dfc3441ac
2 changed files with 8 additions and 0 deletions

View File

@@ -55,6 +55,10 @@
<groupId>io.quarkus</groupId> <groupId>io.quarkus</groupId>
<artifactId>quarkus-messaging-kafka</artifactId> <artifactId>quarkus-messaging-kafka</artifactId>
</dependency> </dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-openapi</artifactId>
</dependency>
<!-- Test --> <!-- Test -->
<dependency> <dependency>

View File

@@ -1,6 +1,10 @@
quarkus.http.port=7080 quarkus.http.port=7080
quarkus.http.root-path=/api/ quarkus.http.root-path=/api/
quarkus.swagger-ui.always-include=true
quarkus.smallrye-openapi.path=${quarkus.http.root-path}openapi
quarkus.swagger-ui.path=${quarkus.http.root-path}swagger
%dev.kafka.bootstrap.servers=localhost:19092 %dev.kafka.bootstrap.servers=localhost:19092
kafka.bootstrap.servers=redpanda:9092 kafka.bootstrap.servers=redpanda:9092