Skip to content

fix(sdk): unwrap scalar record path parameters#80

Merged
matoous merged 1 commit intomainfrom
md/fix-scalar-path-params
Apr 23, 2026
Merged

fix(sdk): unwrap scalar record path parameters#80
matoous merged 1 commit intomainfrom
md/fix-scalar-path-params

Conversation

@matoous
Copy link
Copy Markdown
Contributor

@matoous matoous commented Apr 23, 2026

Fix generated path parameter serialization for single-value record wrappers such as ReaderId. Generated clients now route path params through ApiClient.parameterValue(...), which unwraps records shaped like record X(String value) before URL encoding. This prevents URLs from containing Java record toString() output like ReaderId[value=...].

Fix generated path parameter serialization for single-value record
wrappers such as `ReaderId`. Generated clients now route path params
through `ApiClient.parameterValue(...)`, which unwraps records
shaped like `record X(String value)` before URL encoding. This
prevents URLs from containing Java record `toString()` output like
`ReaderId[value=...]`.
@matoous matoous self-assigned this Apr 23, 2026
@matoous matoous merged commit bcb39f1 into main Apr 23, 2026
12 checks passed
@matoous matoous deleted the md/fix-scalar-path-params branch April 23, 2026 12:12
@sumup-bot sumup-bot Bot mentioned this pull request Apr 23, 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