Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112722
response.ex
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
702 B
Referenced Files
None
Subscribers
None
response.ex
View Options
defmodule
OpenApiSpex.Response
do
@moduledoc
"""
Defines the `OpenApiSpex.Response.t` type.
"""
alias
OpenApiSpex
.
{
Header
,
Reference
,
MediaType
,
Link
}
@enforce_keys
:description
defstruct
[
:description
,
:headers
,
:content
,
:links
]
@typedoc
"""
[Response Object](https://swagger.io/specification/
#
responseObject)
Describes a single response from an API Operation, including design-time, static links to operations based on the response.
"""
@type
t
::
%
__MODULE__
{
description
:
String
.
t
,
headers
:
%{
String
.
t
=>
Header
.
t
|
Reference
.
t
}
|
nil
,
content
:
%{
String
.
t
=>
MediaType
.
t
}
|
nil
,
links
:
%{
String
.
t
=>
Link
.
t
|
Reference
.
t
}
|
nil
}
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 10:41 PM (21 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39176
Default Alt Text
response.ex (702 B)
Attached To
Mode
R22 open_api_spex
Attached
Detach File
Event Timeline
Log In to Comment