OpenApiWorkspace.AddFragment(String, IOpenApiReferenceable) 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.
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
- fragment
- IOpenApiReferenceable
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.