Serreau Jovann
de55e5b503
Refactor ApiDocController: split getApiSpec into 5 methods, add constants, fix returns
SonarQube fixes:
- Split getApiSpec() (191 lines) into authSection/eventsSection/categoriesSection/billetsSection/scannerSection
- Add STATUS_401/403/404 constants (was duplicated "Non authentifie" 6x)
- ApiAuthController::login: merge credentials + role check into single return (4→3)
- ApiAuthController::refresh: merge userId null + not expired checks (5→4 returns)
Tests:
- Add api-env-switcher.test.js: 4 tests (no switcher, switch to live, switch back, fallback host)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 20:05:22 +01:00
..
2026-03-23 12:11:07 +01:00
2026-03-23 18:13:29 +01:00
2026-03-23 11:14:06 +01:00
2026-03-18 22:50:23 +01:00
2026-03-20 15:54:26 +01:00
2026-03-23 11:14:06 +01:00
2026-03-23 20:05:22 +01:00
2026-03-18 22:50:23 +01:00
2026-03-19 14:07:07 +01:00
2026-03-19 00:03:23 +01:00
2026-03-19 10:48:54 +01:00
2026-03-23 12:11:07 +01:00
2026-03-18 23:14:04 +01:00
2026-03-04 21:52:29 +01:00