View Source OpenApiSpex.Callback (open_api_spex v3.16.0)

Defines the OpenApiSpex.Callback.t type.

Link to this section Summary

Link to this section Types

@type t() :: %{required(String.t()) => OpenApiSpex.PathItem.t()}

Callback Object

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 callback object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.