File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed
Microsoft.OpenApi.Readers.Tests Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public void ParseCustomExtension()
48
48
}
49
49
}
50
50
51
- public class FooExtension : IOpenApiExtension , IOpenApiElement
51
+ internal class FooExtension : IOpenApiExtension , IOpenApiElement
52
52
{
53
53
public string Baz { get ; set ; }
54
54
Original file line number Diff line number Diff line change 4
4
using System ;
5
5
using System . Collections . Generic ;
6
6
using FluentAssertions ;
7
- using Microsoft . OpenApi . Exceptions ;
8
7
using Microsoft . OpenApi . Interfaces ;
9
8
using Microsoft . OpenApi . Models ;
10
9
using Microsoft . OpenApi . Properties ;
@@ -132,7 +131,7 @@ public void ValidateCustomExtension()
132
131
133
132
}
134
133
135
- public class FooExtension : IOpenApiExtension , IOpenApiElement
134
+ internal class FooExtension : IOpenApiExtension , IOpenApiElement
136
135
{
137
136
public string Baz { get ; set ; }
138
137
Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ namespace Microsoft.OpenApi.Validations.Tests
8
8
{
9
9
public class ValidationRuleSetTests
10
10
{
11
+ public ValidationRuleSetTests ( )
12
+ {
13
+ var preload = ValidationRuleSet . DefaultRuleSet ;
14
+ }
15
+
11
16
[ Fact ]
12
17
public void DefaultRuleSetReturnsTheCorrectRules ( )
13
18
{
Original file line number Diff line number Diff line change 1
- using System . Collections . Generic ;
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT license.
3
+
4
+ using System . Collections . Generic ;
2
5
using FluentAssertions ;
3
6
using Microsoft . OpenApi . Models ;
4
7
using Microsoft . OpenApi . Services ;
@@ -154,7 +157,7 @@ public void WalkDOMWithCycles()
154
157
}
155
158
}
156
159
157
- public class LocatorVisitor : OpenApiVisitorBase
160
+ internal class LocatorVisitor : OpenApiVisitorBase
158
161
{
159
162
public List < string > Locations = new List < string > ( ) ;
160
163
public override void Visit ( OpenApiInfo info )
You can’t perform that action at this time.
0 commit comments