Files
btpxpress-backend/src
dahoud a0b0db5ec8 Fix: Configure quarkus.http.root-path for proper Swagger UI routing
- Added quarkus.http.root-path=/btpxpress in production config
- Removed custom Swagger UI files (index.html, swagger-initializer.js)
- Backend now knows it's served under /btpxpress context path
- Swagger UI will correctly generate URLs like /btpxpress/openapi

IMPORTANT: Ingress configuration must be updated to NOT use rewrite-target
The Ingress should pass requests to backend with full path preserved:
  https://api.lions.dev/btpxpress/openapi -> http://backend:8080/btpxpress/openapi

This is the proper solution instead of using rewrite-target which breaks
context-aware applications like Swagger UI.
2025-10-23 11:57:24 +00:00
..