Skip to content

use env var names as auth example values in snippets#15334

Open
networkinterfacecontroller wants to merge 1 commit intofern-api:mainfrom
networkinterfacecontroller:fix/dynamic-snippets-auth-env-var-examples
Open

use env var names as auth example values in snippets#15334
networkinterfacecontroller wants to merge 1 commit intofern-api:mainfrom
networkinterfacecontroller:fix/dynamic-snippets-auth-env-var-examples

Conversation

@networkinterfacecontroller
Copy link
Copy Markdown

Description

Changes Made

When a security scheme declares env vars via x-fern-basic (or bearer/header equivalents), use those names as the example placeholder values in the dynamic IR rather than the hardcoded generics (, , , ). Falls back to the existing generic placeholders when no env var is declared.

  • Updated README.md generator (if applicable)

Testing

  • Unit tests added/updated
  • Manual testing completed

…c snippets

When a security scheme declares env vars via x-fern-basic (or bearer/header
equivalents), use those names as the example placeholder values in the dynamic
IR rather than the hardcoded generics (<username>, <password>, <token>, <value>).
Falls back to the existing generic placeholders when no env var is declared.
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant