Share via


IOpenApiCallback Interface

Definition

Defines the base properties for the callback object. This interface is provided for type assertions but should not be implemented by package consumers beyond automatic mocking.

public interface IOpenApiCallback : Microsoft.OpenApi.IOpenApiReadOnlyExtensible, Microsoft.OpenApi.IOpenApiReferenceable, Microsoft.OpenApi.IShallowCopyable<Microsoft.OpenApi.IOpenApiCallback>
type IOpenApiCallback = interface
    interface IOpenApiReadOnlyExtensible
    interface IShallowCopyable<IOpenApiCallback>
    interface IOpenApiReferenceable
    interface IOpenApiSerializable
    interface IOpenApiElement
Public Interface IOpenApiCallback
Implements IOpenApiReadOnlyExtensible, IOpenApiReferenceable, IShallowCopyable(Of IOpenApiCallback)
Derived
Implements

Properties

Name Description
Extensions

Specification extensions.

(Inherited from IOpenApiReadOnlyExtensible)
PathItems

A Path Item Object used to define a callback request and expected responses.

Methods

Name Description
CreateShallowCopy()

Create a shallow copy of the current instance.

(Inherited from IShallowCopyable<T>)
SerializeAsV2(IOpenApiWriter)

Serialize Open API element to v2.0.

(Inherited from IOpenApiSerializable)
SerializeAsV3(IOpenApiWriter)

Serialize Open API element to v3.0.

(Inherited from IOpenApiSerializable)
SerializeAsV31(IOpenApiWriter)

Serialize OpenAPI element into v3.1

(Inherited from IOpenApiSerializable)
SerializeAsV32(IOpenApiWriter)

Serialize OpenAPI element into v3.2

(Inherited from IOpenApiSerializable)

Extension Methods

Name Description
Validate(IOpenApiElement, ValidationRuleSet)

Validate element and all child elements

Applies to