From c5a65bab5bf35b6c19914aba2ba56dac1f3be5ce Mon Sep 17 00:00:00 2001 From: dahoud Date: Wed, 21 Jan 2026 21:46:21 +0000 Subject: [PATCH] Refactoring --- src/main/resources/application-production.properties | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/resources/application-production.properties b/src/main/resources/application-production.properties index 38ec36e..9a74a10 100644 --- a/src/main/resources/application-production.properties +++ b/src/main/resources/application-production.properties @@ -10,6 +10,18 @@ # Permet d'accéder à l'API via https://api.lions.dev/afterwork quarkus.http.root-path=/afterwork +# ==================================================================== +# Swagger/OpenAPI (Production) +# ==================================================================== +# Configuration pour que Swagger UI fonctionne avec root-path +quarkus.swagger-ui.enable=true +quarkus.swagger-ui.always-include=true +quarkus.swagger-ui.path=/q/swagger-ui +# Configuration explicite de l'URL OpenAPI pour Swagger UI +# Avec root-path=/afterwork, l'OpenAPI spec est à /afterwork/openapi +quarkus.swagger-ui.urls.default=/afterwork/openapi +quarkus.smallrye-openapi.path=/openapi + # ==================================================================== # Base de données PostgreSQL # ====================================================================