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
17
17
/// <summary>
18
18
/// The key regex.
19
19
/// </summary>
20
- public static readonly Regex KeyRegex = new ( @"^[a-zA-Z0-9\.\-_]+$" ) ;
20
+ internal static readonly Regex KeyRegex = new ( @"^[a-zA-Z0-9\.\-_]+$" ) ;
21
21
22
22
/// <summary>
23
23
/// 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
1671
1671
[Microsoft.OpenApi.Validations.Rules.OpenApiRule]
1672
1672
public static class OpenApiComponentsRules
1673
1673
{
1674
- public static readonly System.Text.RegularExpressions.Regex KeyRegex;
1675
1674
public static Microsoft.OpenApi.Validations.ValidationRule<Microsoft.OpenApi.Models.OpenApiComponents> KeyMustBeRegularExpression { get; }
1676
1675
}
1677
1676
[Microsoft.OpenApi.Validations.Rules.OpenApiRule]
You can’t perform that action at this time.
0 commit comments