Repository navigation
fix(examples): align gateway env vars with the openapi x-config spec - #352
Merged
Merged
Conversation
Rename the feature switches the gateway actually reads (MCP_ENABLED, TELEMETRY_ENABLED, MCP_POLLING_ENABLED, A2A_ENABLED, AUTH_ENABLED, TELEMETRY_ENABLED/AUTH_ENABLED in the mcp example, AUTH_OIDC_ISSUER/AUTH_OIDC_CLIENT_ID/AUTH_OIDC_AUDIENCE) and drop keys that have no env entry in openapi.yaml x-config (A2A_EXPOSE, A2A_POLLING_*, A2A_MAX_*, A2A_RETRY_INTERVAL, A2A_INITIAL_BACKOFF, A2A_ENABLE_RECONNECT, A2A_RECONNECT_INTERVAL, A2A_DISABLE_HEALTHCHECK_LOGS, AUTH_OIDC_CLIENT_SECRET, CLIENT_TIMEOUT).
inference-gateway-maintainer
Bot
marked this pull request as ready for review
November 17, 2026 19:15
6 tasks
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Nov 17, 2026
## [0.31.0](v0.30.0...v0.31.0) (2026-11-17) ### ✨ Features * sync generated types with schemas v1.14.1 ([#357](#357)) ([c1ac248](c1ac248)) ### 🐛 Bug Fixes * **examples:** align gateway env vars with the openapi x-config spec ([#352](#352)) ([ad88612](ad88612)) * **examples:** migrate examples from removed listTools to mcpJsonRpc ([#355](#355)) ([d3fb472](d3fb472)), references [#347](#347) ### 👷 CI * align Dependabot schedule and grouping ([#344](#344)) ([c4e6a3e](c4e6a3e)) * **deps-dev:** bump the npm group with 3 updates ([#345](#345)) ([2882a46](2882a46)) * set up orchestrators from repos.yaml ([#346](#346)) ([53394ea](53394ea)) ### 📚 Documentation * **examples:** add audio examples for createSpeech, createSFX and createMusic ([#354](#354)) ([479cfb7](479cfb7)) * **examples:** fix run instructions referencing missing files, scripts and services ([#353](#353)) ([87f9d8d](87f9d8d)) ### 🔧 Miscellaneous * **deps:** bump flox dependencies to latest ([#342](#342)) ([60b715d](60b715d)) * **deps:** bump flox dependencies to latest ([#343](#343)) ([cf43b42](cf43b42)) * **examples:** raise example SDK pins to the current release line ([#356](#356)) ([d2d81c3](d2d81c3))
Contributor
|
🎉 This PR is included in version 0.31.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Resolves #349
Summary
The example gateway configs used env var names the gateway does not read, so the whole MCP example stack started with MCP silently disabled (the compose set MCP_ENABLE, the gateway reads MCP_ENABLED) and the env templates were full of keys that have no env entry in openapi.yaml x-config. Every key kept or renamed here was verified against the env: entries in openapi.yaml x-config and against the generated config/config.go in inference-gateway/inference-gateway (the two agree).
Changes
Checks