Skip to content

feat(config): add support for environment variable placeholders in config #1090

Closed
wing328 wants to merge 3 commits intomasterfrom
jase88-feat/env-variables
Closed

feat(config): add support for environment variable placeholders in config #1090
wing328 wants to merge 3 commits intomasterfrom
jase88-feat/env-variables

Conversation

@wing328
Copy link
Copy Markdown
Member

@wing328 wing328 commented Dec 29, 2025

Summary by cubic

Add environment variable placeholder support in openapitools.json so configs can reference ${VAR} or ${env.VAR} for dynamic values. Updated docs and tests to cover usage.

  • New Features
    • Replaces placeholders in strings, arrays, and nested objects.
    • Logs an error and leaves the token unchanged when the env var is missing.
    • README: documents env. and placeholders for repository queryUrl/downloadUrl.
    • Adds unit tests for replacement behavior and edge cases.

Written for commit 5325b17. Summary will update automatically on new commits.

based on #1031

Loading
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.

2 participants