Skip to content

Commit 15082fa

Browse files
committed
Updated OpenApiWalker to include walking encoding headers Issue #405
1 parent ec6cc5c commit 15082fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Microsoft.OpenApi/Services/OpenApiWalker.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,11 @@ internal void Walk(OpenApiEncoding encoding)
732732
}
733733

734734
_visitor.Visit(encoding);
735+
736+
if (encoding.Headers != null)
737+
{
738+
Walk(encoding.Headers);
739+
}
735740
Walk(encoding as IOpenApiExtensible);
736741
}
737742

0 commit comments

Comments
 (0)