OpenApiSpex.Response (open_api_spex v3.10.0) View Source
Defines the OpenApiSpex.Response.t type.
Link to this section Summary
Link to this section Types
Specs
t() :: %OpenApiSpex.Response{
content: %{required(String.t()) => OpenApiSpex.MediaType.t()} | nil,
description: String.t(),
headers:
%{
required(String.t()) => OpenApiSpex.Header.t() | OpenApiSpex.Reference.t()
}
| nil,
links:
%{required(String.t()) => OpenApiSpex.Link.t() | OpenApiSpex.Reference.t()}
| nil
}
Describes a single response from an API Operation, including design-time, static links to operations based on the response.