File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
Microsoft.OpenApi.Workbench
Microsoft.OpenApi/Services
test/Microsoft.OpenApi.Tests/Validations Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ protected void OnPropertyChanged(string propertyName)
163
163
/// The core method of the class.
164
164
/// Runs the parsing and serializing.
165
165
/// </summary>
166
- internal void Validate ( )
166
+ internal void ParseDocument ( )
167
167
{
168
168
try
169
169
{
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public MainWindow()
20
20
21
21
private void Button_Click ( object sender , RoutedEventArgs e )
22
22
{
23
- _mainModel . Validate ( ) ;
23
+ _mainModel . ParseDocument ( ) ;
24
24
}
25
25
}
26
26
}
Original file line number Diff line number Diff line change 1
- using System ;
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT license.
3
+
4
+ using System ;
2
5
using System . Collections . Generic ;
3
6
using System . Linq ;
4
7
using System . Text ;
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ public void Walk(OpenApiDocument doc)
38
38
{
39
39
return ;
40
40
}
41
+
41
42
_schemaLoop . Clear ( ) ;
42
43
_pathItemLoop . Clear ( ) ;
43
44
_inComponents = false ;
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public void ReferencedSchemaShouldOnlyBeValidatedOnce()
75
75
}
76
76
77
77
[ Fact ]
78
- public void UnResolvedReferencedSchemaShouldNotBeValidated ( )
78
+ public void UnresolvedReferenceSchemaShouldNotBeValidated ( )
79
79
{
80
80
// Arrange
81
81
var sharedSchema = new OpenApiSchema
@@ -105,7 +105,7 @@ public void UnResolvedReferencedSchemaShouldNotBeValidated()
105
105
}
106
106
107
107
[ Fact ]
108
- public void UnResolvedSchemaReferencedShouldNotBeValidated ( )
108
+ public void UnresolvedSchemaReferencedShouldNotBeValidated ( )
109
109
{
110
110
// Arrange
111
111
You can’t perform that action at this time.
0 commit comments