# `Oaskit.Validation.ResponseData`
[🔗](https://github.com/lud/oaskit/blob/v0.12.0/lib/oaskit/validation/response_data.ex#L1)

A subset of a `Plug.Conn` struct representing an HTTP response, used by
`Oaskit.Test` and `Oaskit.Validation.ResponseValidator`.

The `:resp_body` key must be parsed if the content-type is `application/json`,
that is, it must be a map (or other JSON data) and not a binary.

# `headers`

```elixir
@type headers() :: [{binary(), binary()}]
```

# `t`

```elixir
@type t() :: %Oaskit.Validation.ResponseData{
  resp_body: term(),
  resp_headers: headers(),
  status: pos_integer()
}
```

---

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