Skip to content

api-morph / CallbackObject

Interface: CallbackObject

Defined in: src/types/openapi.ts:817

A map of possible out-of band callbacks related to the parent operation. Each value in the map is a Path Item Object that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the Path Item Object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.

See

https://spec.openapis.org/oas/v3.1.1#callback-object

Indexable

[expression: string]: PathItemObject

A Path Item Object used to define a callback request and expected responses. A complete example is available.

[key: `x-${string}`]: any

This object MAY be extended with Specification Extensions.

基于 MIT 许可证发布