# `AsyncApiSpex.Reference`
[🔗](https://github.com/jamescarr/ankusa/blob/async_api_spex-v0.2.0/packages/async_api_spex/lib/async_api_spex/reference.ex#L1)

A reference to another object in the document. Encodes as `{"$ref": ref}`.

# `t`

```elixir
@type t() :: %AsyncApiSpex.Reference{extensions: map(), ref: String.t()}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
