Skip to content

chore(server): regenerate SDK types from multi-service OpenAPI - #324

Merged
ingemar-svensson merged 1 commit into
devfrom
chore/regenerate-sdk-types-from-openapi
Jul 30, 2026
Merged

chore(server): regenerate SDK types from multi-service OpenAPI#324
ingemar-svensson merged 1 commit into
devfrom
chore/regenerate-sdk-types-from-openapi

Conversation

@ingemar-svensson

Copy link
Copy Markdown
Contributor

Summary

  • Reworked generate-types.ts to fetch and merge the five services that own /v1/sdk/* routes (the monolith split removed the single aggregated doc), with deterministic sorting and a Prettier pass.
  • Regenerated generated.ts, picking up the corrected contracts: optional plan price/currency/requiresPayment, purchase requiresPayment/origin, SDK plan name/description/type, and removal of the phantom Plan.taxBehavior and leaked paymentMethodId.

Depends on

  • Backend annotations PR in platform.

Test plan

  • npm run generate:types reproduces this output deterministically.
  • Package typecheck passes.

Made with Cursor

Rework generate-types.ts to fetch and merge the five services that own
/v1/sdk/* routes (the monolith split removed the single aggregated doc),
with deterministic sorting and a Prettier pass, then regenerate
generated.ts. Picks up the corrected plan/purchase/user-info contracts:
optional plan price/currency/requiresPayment, purchase requiresPayment and
origin, SDK plan name/description/type, and removal of the phantom
Plan.taxBehavior and leaked paymentMethodId fields.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ingemar-svensson
ingemar-svensson merged commit 855434c into dev Jul 30, 2026
@ingemar-svensson
ingemar-svensson deleted the chore/regenerate-sdk-types-from-openapi branch July 30, 2026 07:58
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