OpenApiUrlTreeNode.Create 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.
Overloads
Create() |
Creates an empty structured directory of OpenApiUrlTreeNode node. |
Create(OpenApiDocument, String) |
Creates a structured directory of OpenApiUrlTreeNode nodes from the paths of an OpenAPI document. |
Create()
Creates an empty structured directory of OpenApiUrlTreeNode node.
public static Microsoft.OpenApi.Services.OpenApiUrlTreeNode Create ();
static member Create : unit -> Microsoft.OpenApi.Services.OpenApiUrlTreeNode
Public Shared Function Create () As OpenApiUrlTreeNode
Returns
The root node of the created OpenApiUrlTreeNode directory structure.
Applies to
Create(OpenApiDocument, String)
Creates a structured directory of OpenApiUrlTreeNode nodes from the paths of an OpenAPI document.
public static Microsoft.OpenApi.Services.OpenApiUrlTreeNode Create (Microsoft.OpenApi.Models.OpenApiDocument doc, string label);
static member Create : Microsoft.OpenApi.Models.OpenApiDocument * string -> Microsoft.OpenApi.Services.OpenApiUrlTreeNode
Public Shared Function Create (doc As OpenApiDocument, label As String) As OpenApiUrlTreeNode
Parameters
- doc
- OpenApiDocument
The OpenAPI document.
- label
- String
Name tag for labelling the OpenApiUrlTreeNode nodes in the directory structure.
Returns
The root node of the created OpenApiUrlTreeNode directory structure.