Skip to content

feat(codegen): support nested SDK resources - #208

Merged
matoous merged 2 commits into
mainfrom
md/nested-reader-resources
Nov 21, 2026
Merged

matoous merged 2 commits into
mainfrom
md/nested-reader-resources

Conversation

@matoous

@matoous matoous commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

The SDK generator treats every tag as a top-level resource. Syncing the new spec would move checkout and settings methods away from Readers (sumup/apis#6371).

Use the tag hierarchy to generate Checkouts and Settings under Readers. Keep existing Readers calls working and use the nested clients in generated examples.

The generated examples use readers().settings().update(...) and readers().checkouts().create(...).

@matoous matoous self-assigned this Nov 20, 2026
@matoous
matoous force-pushed the md/nested-reader-resources branch from dd86a9d to 94f41f8 Compare November 21, 2026 12:47
@matoous
matoous force-pushed the md/nested-reader-resources branch from 94f41f8 to d2c508a Compare November 21, 2026 13:01
@matoous
matoous marked this pull request as ready for review November 21, 2026 13:06
@matoous
matoous merged commit c899fbe into main Nov 21, 2026
12 checks passed
@matoous
matoous deleted the md/nested-reader-resources branch November 21, 2026 13:06
@sumup-release-bot sumup-release-bot Bot mentioned this pull request Nov 21, 2026
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