Go to file
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
DoliMiddlewareApi feat: configure Swagger Bearer auth, fix CORS, Docker and deployment 2026-05-15 18:58:43 +02:00
DoliMiddlewareApi.Tests feat: Patch para el status que no dejaba por Update 2026-02-02 11:01:40 +01:00
presentacion Add Reveal.js presentation and architecture diagram 2026-05-14 20:48:01 +02:00
.dockerignore feat: configure Swagger Bearer auth, fix CORS, Docker and deployment 2026-05-15 18:58:43 +02:00
.env.example feat: configure Swagger Bearer auth, fix CORS, Docker and deployment 2026-05-15 18:58:43 +02:00
.gitignore chore: configuración inicial del proyecto .NET 2025-12-29 16:37:45 +01:00
DoliMiddlewareApi.sln feat: Primera parte de la implementacion de autentificacion, para obtener la DOLIAPIKEY del cliente la cual cachearemos asociada a un Id que devolveremos en el JWT de nuestro servidor. 2026-01-03 18:12:40 +01:00
compose.yaml feat: configure Swagger Bearer auth, fix CORS, Docker and deployment 2026-05-15 18:58:43 +02:00
openapi.json feat: Implementar endpoint PUT para actualizar facturas draft, limitado a campos permitidos por Dolibarr (ref, notas, estado, fecha expiración) y unificar campo 'number' para consistencia 2026-01-02 20:20:58 +01:00