Skip to content

docs(sdks): document deepObjectMapQueryParameters TypeScript generator config - #6876

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1788800675-ts-deepobject-map-query-params
Open

docs(sdks): document deepObjectMapQueryParameters TypeScript generator config#6876
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1788800675-ts-deepobject-map-query-params

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Documents a new opt-in TypeScript SDK generator option, deepObjectMapQueryParameters, which encodes map-typed query parameters in OpenAPI deepObject style (?metadata[env]=prod) instead of a single JSON-stringified value (?metadata=%7B%22env%22%3A%22prod%22%7D). Servers that declare a query parameter with style: deepObject could not parse the stringified form, so SDKs generated for those APIs sent requests the server rejected. Enabling this option produces a TypeScript SDK that works with such servers; it defaults to false, so existing SDKs are unaffected.

Implements docs for: feat(typescript): add opt-in deepObjectMapQueryParameters (fern-api/fern#17652)

Changed

  • fern/products/sdks/generators/typescript/configuration.mdx: new deepObjectMapQueryParameters <ParamField> (alphabetically between auto-generate-idempotency-key and defaultTimeout) with a before/after query-string example and the noSerdeLayer interaction (nested object/date values are serialized through the serde layer only when noSerdeLayer: false).

No changelog entry (SDK changelogs are auto-generated). generators-yml-reference.mdx only links to the TypeScript page, so it was left unchanged.

Vale and fern check --warnings pass; remaining findings are pre-existing on other lines/pages.

Link to Devin session: https://app.devin.ai/sessions/3a0d216e8dd64014873d25f36a0c4294
Open in Devin Desktop: https://app.devin.ai/desktop/session/3a0d216e8dd64014873d25f36a0c4294?variant=devin

…r config

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

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.

0 participants