dolibarr-bff/DoliMiddlewareApi
JavMB fe6bd57796 feat: configure Swagger Bearer auth, fix CORS, Docker and deployment
- Program.cs: added Swagger with JWT Bearer security definition using
  OpenApi v2 API (OpenApiSecuritySchemeReference), enabled Swagger in all
  environments (not just Development), registered all new services
  (ContactService, SetupService) in DI
- CORS: configurable via Cors__AllowedOrigins env var, allows all
  when empty (dev-friendly)
- DoliMiddlewareApi.csproj: removed Microsoft.AspNetCore.OpenApi (conflicts
  with Swashbuckle v10), kept Swashbuckle.AspNetCore 10.1.0
- appsettings.json: fixed Dolibarr ApiUrl to /api/index.php (was /explorer)
- compose.yaml: fixed Dolibarr ApiUrl, added JWT_SECRET default for dev,
  added healthcheck for Dolibarr container, BFF waits for Dolibarr healthy
- .dockerignore: added to keep Docker build clean
- .env.example: template with instructions for JWT_SECRET
2026-05-15 18:58:43 +02:00
..
Controllers feat: add Contacts & Setup controllers, extend Clients/Invoices/Document controllers 2026-05-15 18:58:35 +02:00
Dtos feat: add DTOs, Dolibarr response types and mappers for Contacts, Clients, Setup and invoice lines 2026-05-15 18:58:26 +02:00
Exceptions feat: añadir excepciones personalizadas para la API 2025-12-29 16:37:46 +01:00
Mappers feat: add DTOs, Dolibarr response types and mappers for Contacts, Clients, Setup and invoice lines 2026-05-15 18:58:26 +02:00
Properties feat: configurar API base con Program.cs y settings 2025-12-29 16:37:45 +01:00
Services feat: add Contacts & Setup controllers, extend Clients/Invoices/Document controllers 2026-05-15 18:58:35 +02:00
AGENTS.md Implementar autenticación JWT con caché de tokens de Dolibarr por sesión 2026-01-03 19:55:04 +01:00
Dockerfile chore: añadir configuración de Docker 2025-12-29 16:37:45 +01:00
DoliMiddlewareApi.csproj feat: configure Swagger Bearer auth, fix CORS, Docker and deployment 2026-05-15 18:58:43 +02:00
Program.cs feat: configure Swagger Bearer auth, fix CORS, Docker and deployment 2026-05-15 18:58:43 +02:00
appsettings.Development.json feat: configure Swagger Bearer auth, fix CORS, Docker and deployment 2026-05-15 18:58:43 +02:00
appsettings.json feat: configure Swagger Bearer auth, fix CORS, Docker and deployment 2026-05-15 18:58:43 +02:00