mirror of
https://github.com/Dvorinka/Containr.git
synced 2026-10-28 07:41:27 +00:00
docs(api): bring OpenAPI spec to route parity, dedupe client types
openapi.yaml: 29 -> 114 paths / 154 operations covering every mounted route, including root probes (/live, /health, /ready) and /api/agents/* token routes via per-path servers overrides. Schemas corrected against the real Go structs (Service, GitProvider/GitRepository/GitBranch, NodeAgent capabilities/resources, HostMonitoring, UpgradeStatus, service metrics, project stats); stale source/build_config contract and phantom ServiceSource/BuildConfig/ResourceConfig schemas removed. Proxmox handlers are never registered - intentionally undocumented. api-client.ts: raw wire types now alias generated schemas (ServiceVariable, UpgradeStatus, HostMonitoring, NodeAgent, Service, ServiceMetrics, Git*); CreateServiceInput/CreateUserInput use the generated request types. CamelCase view models and normalizers remain - they are the frontend contract, not duplication. Frontend gate green: tsc, eslint, vitest, vite build. Authored By: TDvorak <[email protected]>
This commit is contained in:
1 parent
aef9eeeff8
commit
93e3074477
5 files changed
+9561
-389
No files matched your search
+3991
-95
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user