Skip to content

Commit 4ab9638

Browse files
fix: correct paths in AGENTS.md API contract changes section
- api:ts equivalent command: use full relative path backend/internal/httpd/apispec/openapi.yaml, not bare openapi.yaml - verify command: prefix with `cd backend &&` so it works from repo root Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
1 parent c5e5aad commit 4ab9638

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎AGENTS.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ npm run api # runs api:spec then api:ts in sequence
103103
This is equivalent to running:
104104
```bash
105105
npm run api:spec # cd backend && go generate ./internal/httpd/apispec/...
106-
npm run api:ts # npx [email protected] openapi.yaml -o frontend/src/api/schema.ts
106+
npm run api:ts # npx [email protected] backend/internal/httpd/apispec/openapi.yaml -o frontend/src/api/schema.ts
107107
```
108108

109109
**Verify:**
110110
```bash
111-
go test ./internal/httpd/... # spec drift + route/spec parity tests
111+
cd backend && go test ./internal/httpd/... # spec drift + route/spec parity tests
112112
```
113113

114114
Commit `openapi.yaml` and `frontend/src/api/schema.ts` together with the Go changes. The CLI hand-mirrored DTOs remain a deliberate manual boundary and are not generated.

0 commit comments

Comments
 (0)