Compartilhar via


OpenApiUrlTreeNode.Create Method

Definition

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.

Applies to