File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
src/Microsoft.OpenApi/Extensions Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 8
8
using Microsoft . OpenApi . Interfaces ;
9
9
using Microsoft . OpenApi . Models ;
10
10
using Microsoft . OpenApi . Properties ;
11
- using Microsoft . OpenApi . Services ;
12
- using Microsoft . OpenApi . Validations ;
13
11
14
12
namespace Microsoft . OpenApi . Extensions
15
13
{
16
14
/// <summary>
17
- /// TODO: tmpDbg comment
15
+ /// Extension methods for resolving references on <see cref="IOpenApiReferenceable"/> elements.
18
16
/// </summary>
19
17
public static class OpenApiReferencableExtensions
20
18
{
21
19
/// <summary>
22
20
/// TODO: tmpDbg comment
23
21
/// </summary>
24
- /// <param name="element">Element to validate </param>
25
- /// <param name="ruleSet">Optional set of rules to use for validation </param>
26
- /// <returns>An IEnumerable of errors. This function will never return null .</returns>
22
+ /// <param name="element">The referencable Open API element on which to apply the JSON pointer </param>
23
+ /// <param name="jsonPointer">a JSON Pointer [RFC 6901](https://tools.ietf.org/html/rfc6901). </param>
24
+ /// <returns>The element pointed to by the JSON pointer .</returns>
27
25
public static IOpenApiReferenceable ResolveReference ( this IOpenApiReferenceable element , string jsonPointer )
28
26
{
29
27
if ( jsonPointer == "/" )
You can’t perform that action at this time.
0 commit comments