Update x-fern-retries language support - #6722
Open
devin-ai-integration[bot] wants to merge 2 commits into
Open
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Contributor
|
🌿 Preview your docs: https://fern-preview-devin-1787418552-retries-language-support.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
x-fern-retries: { disabled: true }lets an API owner mark an individual endpoint as non-retryable, which matters for non-idempotent operations like payments or order creation where a silent retry can double-charge a customer. Until now only the Python generator honored it; every other SDK generator parsed the extension and retried anyway, so the guarantee the docs implied only held in one language. Eight generator fixes shipped on 2026-08-20 make that guarantee real in every SDK language, and this updates the extension page, which still told readers it was Python-only.Implements docs for:
Changes
fern/products/api-def/openapi/extensions/retries.mdx:<Callout intent="info">claiming Python-only support and folded the accurate language list into the intro paragraph, matching howdefault.mdxstates support inline rather than in a callout.The language list was verified against the merged generator commits in
fern-api/fern(each ships achanges/unreleased/entry undergenerators/{typescript,java,csharp,go,ruby-v2,php,rust,swift}/sdk) plus the pre-existing Python support. No caveats worth documenting: the Ruby fix landed inruby-v2, which is the generator published asfern-ruby-sdk.No SDK changelog entry (handled separately). The Chinese copy at
fern/translations/zh/...is left alone —.github/workflows/sync-translations.ymlre-translates stale files nightly.Link to Devin session: https://app.devin.ai/sessions/a72b77ca52d94b5394bdbf60f986f61d