Skip to content

Commit 4e664e0

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

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
@@ -17,7 +17,7 @@ internal static partial class OpenApiV31Deserializer
1717
private static readonly PatternFieldMap<OpenApiCallback> _callbackPatternFields =
1818
new PatternFieldMap<OpenApiCallback>
1919
{
20-
{s => !s.StartsWith("x-"), (o, p, n) => o.AddPathItem(RuntimeExpression.Build(p), LoadPathItem(n))},
20+
{s => !s.StartsWith("x-", StringComparison.OrdinalIgnoreCase), (o, p, n) => o.AddPathItem(RuntimeExpression.Build(p), LoadPathItem(n))},
2121
{s => s.StartsWith("x-"), (o, p, n) => o.AddExtension(p, LoadExtension(p,n))},
2222
};
2323

0 commit comments

Comments
 (0)