Share via


OpenApiSchemaReference.CopyReference(JsonSchemaReference) Method

Definition

Copy the reference as a target element with overrides.

protected override Microsoft.OpenApi.JsonSchemaReference CopyReference(Microsoft.OpenApi.JsonSchemaReference sourceReference);
override this.CopyReference : Microsoft.OpenApi.JsonSchemaReference -> Microsoft.OpenApi.JsonSchemaReference
Protected Overrides Function CopyReference (sourceReference As JsonSchemaReference) As JsonSchemaReference

Parameters

sourceReference
JsonSchemaReference

The source reference to copy

Returns

The copy of the reference

Applies to