Skip to main content

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

AttributeTypeDescription
descriptionstrA verbose explanation of the response's purpose and structure, which can be formatted using CommonMark.
headers`dict[str, HeaderReference]
content`dict[str, MediaType]None` = None
links`dict[str, LinkReference]