File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
src/Microsoft.OpenApi/Validations/Rules
test/Microsoft.OpenApi.Tests/PublicApi Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public static class OpenApiComponentsRules
1717 /// <summary>
1818 /// The key regex.
1919 /// </summary>
20- public static readonly Regex KeyRegex = new ( @"^[a-zA-Z0-9\.\-_]+$" ) ;
20+ internal static readonly Regex KeyRegex = new ( @"^[a-zA-Z0-9\.\-_]+$" ) ;
2121
2222 /// <summary>
2323 /// All the fixed fields declared above are objects
Original file line number Diff line number Diff line change @@ -1671,7 +1671,6 @@ namespace Microsoft.OpenApi.Validations.Rules
16711671 [Microsoft.OpenApi.Validations.Rules.OpenApiRule]
16721672 public static class OpenApiComponentsRules
16731673 {
1674- public static readonly System.Text.RegularExpressions.Regex KeyRegex;
16751674 public static Microsoft.OpenApi.Validations.ValidationRule<Microsoft.OpenApi.Models.OpenApiComponents> KeyMustBeRegularExpression { get; }
16761675 }
16771676 [Microsoft.OpenApi.Validations.Rules.OpenApiRule]
You can’t perform that action at this time.
0 commit comments