Update oneOf fix

This commit is contained in:
Ben C 2022-05-23 08:33:34 -04:00 committed by GitHub
parent e63549b659
commit 4666284864
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,10 +65,7 @@ public static class SchemaExporter
schema.OneOf.Clear();
foreach (var property in schema.Reference.Properties.Values) FixOneOf(property);
}
else
{
foreach (var property in schema.Properties.Values) FixOneOf(property);
}
foreach (var property in schema.Properties.Values) FixOneOf(property);
}
private JsonSchema GetJsonSchema()