AsyncApiSpex.Operation (async_api_spex v0.1.0)

Copy Markdown View Source

An operation on a channel: a :send (the application publishes) or :receive (the application consumes).

Summary

Types

action()

@type action() :: :send | :receive

t()

@type t() :: %AsyncApiSpex.Operation{
  action: action() | nil,
  bindings: map() | nil,
  channel: AsyncApiSpex.Reference.t() | nil,
  description: String.t() | nil,
  extensions: map(),
  messages: [AsyncApiSpex.Reference.t()] | nil,
  summary: String.t() | nil,
  tags: [AsyncApiSpex.Tag.t()] | nil,
  title: String.t() | nil
}