Skip to content

Commit cefc069

Browse files
Update src/Microsoft.OpenApi.Readers/V31/OpenApiCallbackDeserializer.cs
Co-authored-by: Vincent Biret <[email protected]>
1 parent 4e664e0 commit cefc069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi.Readers/V31/OpenApiCallbackDeserializer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ internal static partial class OpenApiV31Deserializer
1818
new PatternFieldMap<OpenApiCallback>
1919
{
2020
{s => !s.StartsWith("x-", StringComparison.OrdinalIgnoreCase), (o, p, n) => o.AddPathItem(RuntimeExpression.Build(p), LoadPathItem(n))},
21-
{s => s.StartsWith("x-"), (o, p, n) => o.AddExtension(p, LoadExtension(p,n))},
21+
{s => s.StartsWith("x-", StringComparison.OrdinalIgnoreCase), (o, p, n) => o.AddExtension(p, LoadExtension(p,n))},
2222
};
2323

2424
public static OpenApiCallback LoadCallback(ParseNode node)

0 commit comments

Comments
 (0)