File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -379,10 +379,10 @@ def add_operation(
379
379
description : Optional [str ] = None ,
380
380
tags : Optional [List [str ]] = None ,
381
381
deprecated : Optional [bool ] = None ,
382
- by_alias : bool = False ,
383
- exclude_unset : bool = False ,
384
- exclude_defaults : bool = False ,
385
- exclude_none : bool = False ,
382
+ by_alias : Optional [ bool ] = None ,
383
+ exclude_unset : Optional [ bool ] = None ,
384
+ exclude_defaults : Optional [ bool ] = None ,
385
+ exclude_none : Optional [ bool ] = None ,
386
386
url_name : Optional [str ] = None ,
387
387
include_in_schema : bool = True ,
388
388
openapi_extra : Optional [Dict [str , Any ]] = None ,
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ def add_api_operation(
34
34
description : Optional [str ] = None ,
35
35
tags : Optional [List [str ]] = None ,
36
36
deprecated : Optional [bool ] = None ,
37
- by_alias : bool = False ,
38
- exclude_unset : bool = False ,
39
- exclude_defaults : bool = False ,
40
- exclude_none : bool = False ,
37
+ by_alias : Optional [ bool ] = None ,
38
+ exclude_unset : Optional [ bool ] = None ,
39
+ exclude_defaults : Optional [ bool ] = None ,
40
+ exclude_none : Optional [ bool ] = None ,
41
41
url_name : Optional [str ] = None ,
42
42
include_in_schema : bool = True ,
43
43
openapi_extra : Optional [Dict [str , Any ]] = None ,
You can’t perform that action at this time.
0 commit comments