File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 99from ninja .constants import NOT_SET
1010from ninja .parser import Parser
1111from ninja .renderers import BaseRenderer
12+ from ninja .types import TCallable
1213
1314from ninja_extra import exceptions , router
1415from ninja_extra .compatible import NOT_SET_TYPE
@@ -29,6 +30,7 @@ def __init__(
2930 description : str = "" ,
3031 openapi_url : Optional [str ] = "/openapi.json" ,
3132 docs_url : Optional [str ] = "/docs" ,
33+ docs_decorator : Optional [Callable [[TCallable ], TCallable ]] = None ,
3234 urls_namespace : Optional [str ] = None ,
3335 csrf : bool = False ,
3436 auth : Union [Sequence [Callable ], Callable , NOT_SET_TYPE ] = NOT_SET ,
@@ -42,6 +44,7 @@ def __init__(
4244 description = description ,
4345 openapi_url = openapi_url ,
4446 docs_url = docs_url ,
47+ docs_decorator = docs_decorator ,
4548 urls_namespace = urls_namespace ,
4649 csrf = csrf ,
4750 auth = auth ,
You can’t perform that action at this time.
0 commit comments