OpenApiDocDescriptor.AddComponentLink method

Adds a component link to the OpenAPI document.

public void AddComponentLink(string name, OpenApiLink link, 
    OpenApiComponentConflictResolution ifExists = OpenApiComponentConflictResolution.Overwrite)
parameter description
name The name of the link component.
link The link component to add.
ifExists The conflict resolution strategy if a link with the same name already exists.

See Also