Share via


OpenApiWorkspace.AddFragment(String, IOpenApiReferenceable) Method

Definition

Adds a fragment of an OpenApiDocument to the workspace.

public void AddFragment(string ___location, Microsoft.OpenApi.Interfaces.IOpenApiReferenceable fragment);
member this.AddFragment : string * Microsoft.OpenApi.Interfaces.IOpenApiReferenceable -> unit
Public Sub AddFragment (___location As String, fragment As IOpenApiReferenceable)

Parameters

___location
String

Remarks

Not sure how this is going to work. Does the reference just point to the fragment as a whole, or do we need to to be able to point into the fragment. Keeping it private until we figure it out.

Applies to