mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 04:32:42 +00:00
Register the new typed workout batch ingest endpoint in the OpenAPI route table so the W14a hard-flip CI gate stays green: - Annotate createBatchWorkoutSchema with .meta() so it lands as a named component (CreateBatchWorkoutRequest). - Define WorkoutBatchEntryResult + WorkoutBatchResponse — the per- entry status envelope the iOS sync cursor decodes against. - Register POST /api/workouts/batch with the 200 / 400 / 413 / 401 / 422 / 429 response surface so the Swift DTO generator sees the full contract. - Tagged under Measurements rather than a new tag so the iOS client's sync surface stays in one section. Regenerated docs/api/openapi.yaml via pnpm openapi:generate; pnpm openapi:check confirms the spec is in sync with the underlying schemas.
78 KiB
78 KiB