Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F113024
default_render_error.ex
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
225 B
Referenced Files
None
Subscribers
None
default_render_error.ex
View Options
defmodule
OpenApiSpex.Plug.DefaultRenderError
do
@behaviour
Plug
alias
Plug.Conn
@impl
Plug
def
init
(
opts
),
do
:
opts
@impl
Plug
def
call
(
conn
,
reason
)
do
conn
|>
Conn
.
send_resp
(
422
,
"
#{
reason
}
"
)
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Sun, Nov 24, 4:56 AM (21 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39348
Default Alt Text
default_render_error.ex (225 B)
Attached To
Mode
R22 open_api_spex
Attached
Detach File
Event Timeline
Log In to Comment