-
Notifications
You must be signed in to change notification settings - Fork 4
docs(DX-2061): add environment variable type mapping documentation #1134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(DX-2061): add environment variable type mapping documentation #1134
Conversation
Add a centralized snippet explaining how Go types map to environment variable formats. This clarifies the expected format for array types like []string, which should be comma-separated values rather than JSON arrays. The snippet is included in all configuration documentation pages: - Tyk Gateway - Tyk Dashboard - Tyk Pump - MDCB - Tyk Identity Broker - Enterprise Developer Portal Closes DX-2061 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
/release to release-5.8 |
|
/release to release-5.10 |
|
✅ Cherry-pick successful. A PR was created and auto-merged (if allowed): #1167 |
|
✅ Cherry-pick successful. A PR was created and auto-merged (if allowed): #1168 |
User description
Summary
snippets/env-type-mapping.mdx) explaining how Go types map to environment variable formats[]string, which should be comma-separated values rather than JSON arraysContext
This PR addresses the confusion reported in DX-2061, where the documentation for
TYK_PMP_PUMPS_STDOUT_FILTERS_SKIPPEDAPIIDS(type[]string) was unclear, potentially leading users to incorrectly use JSON array format when a comma-separated string is expected.Changes
New Files
snippets/env-type-mapping.mdx- A reusable snippet with a type mapping tableModified Files
tyk-oss-gateway/configuration.mdxtyk-dashboard/configuration.mdxtyk-pump/tyk-pump-configuration/tyk-pump-environment-variables.mdxtyk-multi-data-centre/mdcb-configuration-options.mdxtyk-configuration-reference/tyk-identity-broker-configuration.mdxproduct-stack/tyk-enterprise-developer-portal/deploy/configuration.mdxTest Plan
Closes DX-2061
🤖 Generated with Claude Code
PR Type
Documentation
Description
Add reusable env type mapping snippet
Include snippet across config docs
Clarify []string uses comma-separated values
Document map and JSON formatting rules
Diagram Walkthrough
File Walkthrough
7 files
Add reusable environment variable type mapping tableImport and render env type mapping snippetImport and insert env type mapping guidanceAdd env type mapping to Pump config docsInclude env type mapping in MDCB docsInsert env type mapping into TIB config pageImport and display env type mapping in Portal docs