โ† baseline_full

fastapi_14459

failed NO_PATCH NO_PATCH UNSUBMITTED empty_patch(None) ยท None tool calls ยท 0 s ยท fastapi/fastapi

Task input

๐Ÿ› 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 calls (0)

#ToolArgumentsResult
No trace captured.