We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec7673c commit 80fd940Copy full SHA for 80fd940
ninja_extra/controllers/base.py
@@ -366,7 +366,8 @@ def __str__(self) -> str: # pragma: no cover
366
367
def _add_operation_from_route_function(self, route_function: RouteFunction) -> None:
368
# converts route functions to Operation model
369
- route_function.route.route_params.operation_id = f"{str(uuid.uuid4())[:8]}_controller_{route_function.route.view_func.__name__}"
+ if route_function.route.route_params.operation_id is None:
370
+ route_function.route.route_params.operation_id = f"{str(uuid.uuid4())[:8]}_controller_{route_function.route.view_func.__name__}"
371
372
if (
373
self.auth
0 commit comments