Share via


IEffective<T> Interface

Definition

OpenApiElements that implement IEffective indicate that their description is not self-contained. External elements affect the effective description.

public interface IEffective<T> where T : class, IOpenApiElement
type IEffective<'T (requires 'T : null and 'T :> IOpenApiElement)> = interface
Public Interface IEffective(Of T)

Type Parameters

T

Type of OpenApi Element that is being referenced.

Derived

Remarks

Currently this will only be used for accessing external references. In the next major version, this will be the approach accessing all referenced elements. This will enable us to support merging properties that are peers of the $ref

Methods

GetEffective(OpenApiDocument)

Returns a calculated and cloned version of the element.

Applies to