Skip to content

Commit 1335035

Browse files
committed
Added dictionary to keep context
1 parent b98b6d0 commit 1335035

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Microsoft.OpenApi/Services/OpenApiWalker.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ public class OpenApiWalker
1818
private readonly OpenApiVisitorBase _visitor;
1919
private readonly Stack<OpenApiSchema> _schemaLoop = new Stack<OpenApiSchema>();
2020
private readonly Stack<OpenApiPathItem> _pathItemLoop = new Stack<OpenApiPathItem>();
21+
private Dictionary<string, string> _currentKeys = new Dictionary<string, string>();
22+
2123
private bool _inComponents = false;
2224

2325
/// <summary>

0 commit comments

Comments
 (0)