feat(agent-bff): gate the OpenAPI HTTP route behind a env variable - #1816
Open
Tonours wants to merge 2 commits into
Open
feat(agent-bff): gate the OpenAPI HTTP route behind a env variable#1816Tonours wants to merge 2 commits into
Tonours wants to merge 2 commits into
Conversation
|
Coverage Impact This PR will not change total coverage. Modified Files with Diff Coverage (3)
馃洘 Help
|
Tonours
force-pushed
the
feature/bff-openapi-http-enabled
branch
from
August 10, 2026 12:48
51f088e to
ef0070d
Compare
nbouliol
reviewed
Aug 10, 2026
nbouliol
reviewed
Aug 10, 2026
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.

Stacked on #1811 (
feature/prd-887-openapi-cli-export), itself stacked on #1810 and #1809. Base is #1811's branch, notmain: parents merge first, in order. The diff below is only this branch's commit.Adds
BFF_OPENAPI_ENABLED. Defaults totrue, so nothing changes unless you set it.true(default)false/agent/openapi.json, authenticated200+ document404 openapi_disabled/agent/openapi.json, unauthenticated401401forest-bff openapiThe flag gates the HTTP route only, whatever the method. The CLI never reads it, so codegen keeps working on an instance that does not expose the route.
Accepted values:
trueandfalse, case-insensitive, padding trimmed. Anything else fails fast at boot with an error that never echoes the value.How to test
Definition of Done
General
Security