Skip to content

Commit d183ad5

Browse files
committed
Add logic to walk OpenApiSchema.Not property
1 parent e2ff502 commit d183ad5

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
@@ -773,6 +773,11 @@ internal void Walk(OpenApiSchema schema, bool isComponent = false)
773773
Walk("items", () => Walk(schema.Items));
774774
}
775775

776+
if (schema.Not != null)
777+
{
778+
Walk("not", () => Walk(schema.Not));
779+
}
780+
776781
if (schema.AllOf != null)
777782
{
778783
Walk("allOf", () => Walk(schema.AllOf));

0 commit comments

Comments
 (0)