failed NO_PATCH NO_PATCH UNSUBMITTED empty_patch(None) ยท None tool calls ยท 0 s ยท fastapi/fastapi
๐ Fix OAuth2 scopes in OpenAPI in extra corner cases, parent dependency with scopes, sub-dependency security scheme without scopes ๐ Fix OAuth2 scopes in OpenAPI in extra corner cases, parent dependency with scopes, sub-dependency security scheme without scopes, and the same security scheme used as another sub-dependency without scopes in a different path operation. The dependency without scopes would be cached for OpenAPI and for the one with scopes, it would render without scopes. This also refactors the internals of how dependencies are handled, and how scopes and security schemes are passed through the code, removing duplication and simplifying parts, making them more robust and less error-prone. :muscle: This should fix https://github.com/fastapi/fastapi/issues/14454 (strike 2 :baseball:)
| # | Tool | Arguments | Result |
|---|---|---|---|
| No trace captured. | |||