Context
The API is documented only in prose in the README. There is no machine-readable spec for client generation or a try-it-out UI.
Tasks
- Produce an OpenAPI 3 spec for
/payments (create/get/list) and /health — generated (e.g. utoipa) or hand-written.
- Serve it plus a Swagger UI / Redoc page.
- Keep it in sync with handler request/response shapes.
Acceptance criteria
- A valid OpenAPI document is served and matches the implemented endpoints.
Context
The API is documented only in prose in the README. There is no machine-readable spec for client generation or a try-it-out UI.
Tasks
/payments(create/get/list) and/health— generated (e.g.utoipa) or hand-written.Acceptance criteria