Share via


OpenApiHeader.GetEffective(OpenApiDocument) Method

Definition

Returns an effective OpenApiHeader object based on the presence of a $ref

public Microsoft.OpenApi.Models.OpenApiHeader GetEffective (Microsoft.OpenApi.Models.OpenApiDocument doc);
abstract member GetEffective : Microsoft.OpenApi.Models.OpenApiDocument -> Microsoft.OpenApi.Models.OpenApiHeader
override this.GetEffective : Microsoft.OpenApi.Models.OpenApiDocument -> Microsoft.OpenApi.Models.OpenApiHeader
Public Function GetEffective (doc As OpenApiDocument) As OpenApiHeader

Parameters

doc
OpenApiDocument

The host OpenApiDocument that contains the reference.

Returns

OpenApiHeader

Implements

Applies to