Skip to content

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

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

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

Conversation

@matoous

@matoous matoous commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

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 ee33fd9 to 088569b Compare November 21, 2026 12:47
@matoous
matoous force-pushed the md/nested-reader-resources branch from 088569b to 1f2ea81 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 738fa1a into main Nov 21, 2026
9 checks passed
@matoous
matoous deleted the md/nested-reader-resources branch November 21, 2026 13:06
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