OpenApiReferencableExtensions.ResolveReference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resolves a JSON Pointer with respect to an element, returning the referenced element.
public static Microsoft.OpenApi.Interfaces.IOpenApiReferenceable ResolveReference (this Microsoft.OpenApi.Interfaces.IOpenApiReferenceable element, Microsoft.OpenApi.JsonPointer pointer);
static member ResolveReference : Microsoft.OpenApi.Interfaces.IOpenApiReferenceable * Microsoft.OpenApi.JsonPointer -> Microsoft.OpenApi.Interfaces.IOpenApiReferenceable
<Extension()>
Public Function ResolveReference (element As IOpenApiReferenceable, pointer As JsonPointer) As IOpenApiReferenceable
Parameters
- element
- IOpenApiReferenceable
The referencable Open API element on which to apply the JSON pointer
- pointer
- JsonPointer
a JSON Pointer RFC 6901.
Returns
The element pointed to by the JSON pointer.