File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
src/Microsoft.OpenApi.Readers
test/Microsoft.OpenApi.Readers.Tests/OpenApiWorkspaceTests Expand file tree Collapse file tree 2 files changed +13
-2
lines changed 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 ;
8
11
namespace Microsoft . OpenApi . Readers
9
12
{
10
13
/// <summary>
11
- ///
14
+ /// Container object used for returning the result of reading an OpenAPI description.
12
15
/// </summary>
13
16
public class ReadResult
14
17
{
18
+ /// <summary>
19
+ /// The parsed OpenApiDocument. Null will be returned if the document could not be parsed.
20
+ /// </summary>
15
21
public OpenApiDocument OpenApiDocument { set ; get ; }
22
+ /// <summary>
23
+ /// OpenApiDiagnostic contains the Errors reported while parsing
24
+ /// </summary>
16
25
public OpenApiDiagnostic OpenApiDiagnostic { set ; get ; }
17
26
}
18
27
}
Original file line number Diff line number Diff line change @@ -83,6 +83,8 @@ public async Task LoadTodoDocumentIntoWorkspace()
83
83
Assert . Equal ( "string" , referencedParameter . Schema . Type ) ;
84
84
85
85
}
86
+
87
+
86
88
}
87
89
88
90
public class MockLoader : IStreamLoader
You can’t perform that action at this time.
0 commit comments