fix(api): correct route prefix comments — no prefix applied
Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
parent
c47c23406f
commit
9a6aebd128
2 changed files with 2 additions and 3 deletions
3
Boot.php
3
Boot.php
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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/...")
|
||||
|
|
||||
*/
|
||||
|
||||
|
|
|
|||
Reference in a new issue