T-5: set up API-first tooling with OpenAPI spec as single source of truth

Backend: openapi-generator-maven-plugin generates Spring interfaces and DTOs
from the spec. Frontend: openapi-typescript + openapi-fetch provide type-safe
API access. Both sides get compile-time contract enforcement from a single
api.yaml file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-04 18:04:55 +01:00
parent 1ed379bc1c
commit 5ad6a08b72
9 changed files with 388 additions and 10 deletions

1
.gitignore vendored
View File

@@ -39,6 +39,7 @@ replay_pid*
node_modules/
dist/
build/
frontend/src/api/schema.d.ts
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
npm-debug.log*