From 0dfc3441acfff6b9b4e03543c8cbb22bfbf50497 Mon Sep 17 00:00:00 2001 From: Lennart Heinrich Date: Wed, 22 Oct 2025 22:02:08 +0200 Subject: [PATCH] add openapi/swagger --- pom.xml | 4 ++++ src/main/resources/application.properties | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/pom.xml b/pom.xml index 62ef98d..21e9cb4 100644 --- a/pom.xml +++ b/pom.xml @@ -55,6 +55,10 @@ io.quarkus quarkus-messaging-kafka + + io.quarkus + quarkus-smallrye-openapi + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 6cdd926..0f285a1 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,6 +1,10 @@ quarkus.http.port=7080 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 kafka.bootstrap.servers=redpanda:9092