Skip to content

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

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 6b8aee9 to b755b04 Compare November 21, 2026 12:47
@matoous
matoous force-pushed the md/nested-reader-resources branch from b755b04 to 244a7d3 Compare November 21, 2026 13:01
@matoous
matoous marked this pull request as ready for review November 21, 2026 13:05
@matoous
matoous merged commit 7d928f3 into main Nov 21, 2026
13 checks passed
@matoous
matoous deleted the md/nested-reader-resources branch November 21, 2026 13:05
@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