You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(Http4s700): bridge must not re-serve disabled v7 endpoints via v6
When api_disabled_endpoints or api_disabled_versions gates a v7 path,
ResourceDocMiddleware returns OptionT.none. The v700→v600 bridge was
picking that up and forwarding to Http4s600, which served a 200.
Fix: build a lazy ResourceDocIndex from v7's own resourceDocs and guard
the bridge — only bridge paths whose URL+method matches no v7 ResourceDoc.
Paths that have a v7 doc but returned OptionT.none (disabled) stay none.
Fixes ResourceDocMiddlewareEnableDisablePropsTest scenarios:
- api_disabled_endpoints contains the operationId → 404
- api_disabled_versions disables every endpoint of that version
0 commit comments