Skip to content

feat(openapi): document the 5 missing /api/v1/billing routes#16

Merged
mastermanas805 merged 1 commit into
masterfrom
feat/openapi-billing-routes
May 11, 2026
Merged

feat(openapi): document the 5 missing /api/v1/billing routes#16
mastermanas805 merged 1 commit into
masterfrom
feat/openapi-billing-routes

Conversation

@mastermanas805
Copy link
Copy Markdown
Member

checkout, cancel, invoices, update-payment, change-plan have been live but weren't in the spec. Added full schemas with request body, response shape, and every error code each handler returns. TestOpenAPISpecParses passes.

…ate-payment,change-plan}

These endpoints have been live for weeks but the OpenAPI spec
only listed the read-only /api/v1/billing endpoint added in
PR #15. This commit adds the missing 5 with full request/response
schemas, every error code each handler can return (including the
503 for Razorpay-not-configured and the 502 for Razorpay errors),
and security: bearerAuth.

Verified via the existing TestOpenAPISpecParses gate test.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mastermanas805 mastermanas805 merged commit 68954c0 into master May 11, 2026
@mastermanas805 mastermanas805 deleted the feat/openapi-billing-routes branch May 11, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant