fix(api): correct route prefix comments — no prefix applied
Some checks failed
CI / PHP 8.3 (push) Failing after 2s
CI / PHP 8.4 (push) Failing after 2s

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Snider 2026-03-04 18:40:34 +00:00
parent c47c23406f
commit 9a6aebd128
2 changed files with 2 additions and 3 deletions

View file

@ -127,8 +127,7 @@ class Boot extends ServiceProvider
* Handle API routes registration event.
*
* Registers REST API endpoints for go-agentic Client consumption.
* LifecycleEventProvider wraps with 'api' middleware + '/api' prefix,
* so routes end up at /api/v1/*. Go client sets BaseURL to .../api.
* Routes at /v1/* Go client uses BaseURL + "/v1/plans" directly.
*/
public function onApiRoutes(ApiRoutesRegistering $event): void
{

View file

@ -14,7 +14,7 @@ use Illuminate\Support\Facades\Route;
| REST endpoints for the go-agentic Client (dispatch watch).
| Protected by AgentApiAuth middleware with Bearer token.
|
| Routes at /api/v1/* (Go client sets BaseURL to .../api)
| Routes at /v1/* (Go client uses BaseURL + "/v1/...")
|
*/