docs: use $request./$response. prefixes in OAuth generators.yml examples - #7058
Merged
Merged
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration
Bot
requested review from
devalog,
jkonrath-postman and
nerminamiller-postman
as code owners
September 22, 2026 20:20
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Contributor
|
🌿 Preview your docs: https://fern-preview-devin-1790108363-oauth-prefix-docs.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
nerminamiller-postman
approved these changes
Sep 22, 2026
nerminamiller-postman
deleted the
devin/1790108363-oauth-prefix-docs
branch
September 22, 2026 21:56
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
The OAuth
auth-schemesexamples showed bare property names (access-token: access_token), but the CLI'svalid-oauthrule rejects these:A customer copied the example verbatim and hit this error. This updates every OpenAPI-side OAuth example to the accepted form (
$request.<prop>underrequest-properties,$response.<prop>underresponse-properties), matching what the Fern Definition auth page already shows, and adds one sentence on the OpenAPI auth page stating the requirement.Files:
api-def/openapi/auth.mdx,sdks/snippets/oauth-params.mdx,sdks/snippets/oauth-get-token.mdx,sdks/snippets/oauth-refresh-token.mdx.Link to Devin session: https://app.devin.ai/sessions/6cee3719d44049ffbc026381ca46ec46
Open in Devin Desktop: https://app.devin.ai/desktop/session/6cee3719d44049ffbc026381ca46ec46?variant=devin