Response
This class represents an API response, detailing its structure and content. It defines the response's description, optional headers, media types for its content, and any associated links.
Attributes
| Attribute | Type | Description |
|---|---|---|
| description | str | A verbose explanation of the response's purpose and structure, which can be formatted using CommonMark. |
| headers | `dict[str, Header | Reference] |
| content | `dict[str, MediaType] | None` = None |
| links | `dict[str, Link | Reference] |