Share via


OpenApiTagReference(String, OpenApiDocument, String) Constructor

Definition

Constructor initializing the reference object.

public OpenApiTagReference(string referenceId, Microsoft.OpenApi.OpenApiDocument? hostDocument = default, string? externalResource = default);
new Microsoft.OpenApi.OpenApiTagReference : string * Microsoft.OpenApi.OpenApiDocument * string -> Microsoft.OpenApi.OpenApiTagReference
Public Sub New (referenceId As String, Optional hostDocument As OpenApiDocument = Nothing, Optional externalResource As String = Nothing)

Parameters

referenceId
String

The reference Id.

hostDocument
OpenApiDocument

The host OpenAPI document.

externalResource
String

Optional: External resource in the reference. It may be: 1. a absolute/relative file path, for example: ../commons/pet.json 2. a Url, for example: http://localhost/pet.json

Applies to