We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9f7766 commit a72c5c2Copy full SHA for a72c5c2
src/Microsoft.OpenApi/Validations/Rules/OpenApiComponentsRules.cs
@@ -17,7 +17,7 @@ public static class OpenApiComponentsRules
17
/// <summary>
18
/// The key regex.
19
/// </summary>
20
- public static Regex KeyRegex = new(@"^[a-zA-Z0-9\.\-_]+$");
+ public static readonly Regex KeyRegex = new(@"^[a-zA-Z0-9\.\-_]+$");
21
22
23
/// All the fixed fields declared above are objects
0 commit comments