Share via


OpenApiReference.Id Property

Definition

The identifier of the reusable component of one particular ReferenceType. If ExternalResource is present, this is the path to the component after the '#/'. For example, if the reference is 'example.json#/path/to/component', the Id is 'path/to/component'. If ExternalResource is not present, this is the name of the component without the reference type name. For example, if the reference is '#/components/schemas/componentName', the Id is 'componentName'.

public string Id { get; set; }
member this.Id : string with get, set
Public Property Id As String

Property Value

Applies to