fix: apply GSDFC docstring conformance, add minimal annotations to unannotated params (pydoclint zero); refresh lib/MCP docs
This commit is contained in:
@@ -40,23 +40,23 @@ from .errors import MissingOperationHandler
|
||||
|
||||
|
||||
def bind_routes(
|
||||
app,
|
||||
app: Any,
|
||||
spec: dict,
|
||||
routes_module,
|
||||
routes_module: Any,
|
||||
security_deps: dict[str, list[Any]] | None = None,
|
||||
) -> None:
|
||||
"""
|
||||
Bind OpenAPI operations to FastAPI routes.
|
||||
|
||||
Args:
|
||||
app (fastapi.FastAPI):
|
||||
app (Any):
|
||||
The FastAPI application instance to which routes will be added.
|
||||
spec (dict):
|
||||
Parsed OpenAPI 3.x specification dictionary.
|
||||
routes_module (module):
|
||||
routes_module (Any):
|
||||
Python module containing handler functions. Each handler's name MUST
|
||||
exactly match an OpenAPI `operationId`.
|
||||
security_deps (dict | None):
|
||||
security_deps (dict[str, list[Any]] | None):
|
||||
Optional mapping of ``METHOD:/path`` → ``list[Depends(...)]``
|
||||
generated from the spec's ``securitySchemes`` and per-operation
|
||||
``security`` fields.
|
||||
|
||||
Reference in New Issue
Block a user