From 9ad6b948e79aa118f6ec64bb5c8ee48c7c2e3ac1 Mon Sep 17 00:00:00 2001 From: Rick Porter Date: Fri, 11 Sep 2026 07:20:11 -0400 Subject: [PATCH] Fix operations_to_node() return type --- openapi_spec_tools/layout/merge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi_spec_tools/layout/merge.py b/openapi_spec_tools/layout/merge.py index 35c70e4..8842857 100644 --- a/openapi_spec_tools/layout/merge.py +++ b/openapi_spec_tools/layout/merge.py @@ -4,7 +4,7 @@ from openapi_spec_tools.layout.types import LayoutNode -def operations_to_node(node: LayoutNode) -> dict[str, str]: +def operations_to_node(node: LayoutNode) -> dict[str, LayoutNode]: """Create map of operationId to parent LayoutNode.""" result = {node.identifier: node} for child in node.children: