Skip to content

Commit

Permalink
Revert "Update src/Microsoft.OpenApi/Reader/V31/OpenApiSchemaDeserial…
Browse files Browse the repository at this point in the history
…izer.cs"

This reverts commit 146b44f.
  • Loading branch information
baywet committed Dec 19, 2024
1 parent 146b44f commit 7be32fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public static OpenApiSchema LoadSchema(ParseNode node, OpenApiDocument hostDocum
foreach (var propertyNode in mapNode)
{
bool isRecognized = _openApiSchemaFixedFields.ContainsKey(propertyNode.Name) ||
_openApiSchemaPatternFields.Any(static p => p.Key(propertyNode.Name));
_openApiSchemaPatternFields.Any(p => p.Key(propertyNode.Name));

if (isRecognized)
{
Expand Down

0 comments on commit 7be32fc

Please sign in to comment.