feat: add POST endpoint and security annotations to IndexController, implement TokenSecurity and UnauthorizedResponse
Some checks failed
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 3m16s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Failing after 3m8s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 3m13s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 3m44s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 3m26s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 2m21s

This commit is contained in:
2025-12-01 10:48:40 -05:00
parent abc4fcf544
commit 3a82c5028d
4 changed files with 52 additions and 2 deletions

View File

@@ -71,6 +71,7 @@ class Api
$this->router = new Router();
$this->router->get('/', IndexController::class . '::get');
$this->router->post('/', IndexController::class . '::post');
$this->router->get('/healthz', HealthcheckController::class . '::get');
$this->router->group('/.well-known', function (RouteGroup $router) {