File tree 1 file changed +18
-19
lines changed
src/Microsoft.OpenApi/Reader
1 file changed +18
-19
lines changed Original file line number Diff line number Diff line change 3
3
4
4
using Microsoft . OpenApi . Models ;
5
5
6
- namespace Microsoft . OpenApi . Reader
6
+ namespace Microsoft . OpenApi . Reader ;
7
+ /// <summary>
8
+ /// Container object used for returning the result of reading an OpenAPI description.
9
+ /// </summary>
10
+ public class ReadResult
7
11
{
8
12
/// <summary>
9
- /// Container object used for returning the result of reading an OpenAPI description .
13
+ /// The parsed OpenApiDocument. Null will be returned if the document could not be parsed .
10
14
/// </summary>
11
- public class ReadResult
15
+ public OpenApiDocument Document { get ; set ; }
16
+ /// <summary>
17
+ /// OpenApiDiagnostic contains the Errors reported while parsing
18
+ /// </summary>
19
+ public OpenApiDiagnostic Diagnostic { get ; set ; }
20
+ /// <summary>
21
+ /// Deconstructs the result for easier assignment on the client application.
22
+ /// </summary>
23
+ public void Deconstruct ( out OpenApiDocument document , out OpenApiDiagnostic diagnostic )
12
24
{
13
- /// <summary>
14
- /// The parsed OpenApiDocument. Null will be returned if the document could not be parsed.
15
- /// </summary>
16
- public OpenApiDocument Document { get ; set ; }
17
- /// <summary>
18
- /// OpenApiDiagnostic contains the Errors reported while parsing
19
- /// </summary>
20
- public OpenApiDiagnostic Diagnostic { get ; set ; }
21
- /// <summary>
22
- /// Deconstructs the result for easier assignment on the client application.
23
- /// </summary>
24
- public void Deconstruct ( out OpenApiDocument document , out OpenApiDiagnostic diagnostic )
25
- {
26
- document = Document ;
27
- diagnostic = Diagnostic ;
28
- }
25
+ document = Document ;
26
+ diagnostic = Diagnostic ;
29
27
}
30
28
}
29
+
You can’t perform that action at this time.
0 commit comments