Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F21968253
api_error.ex
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
497 B
Referenced Files
None
Subscribers
None
api_error.ex
View Options
# Pleroma: A lightweight social networking server
# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma.Web.ApiSpec.Schemas.ApiError
do
alias
OpenApiSpex.Schema
require
OpenApiSpex
OpenApiSpex
.
schema
(%{
title
:
"ApiError"
,
description
:
"Response schema for API error"
,
type
:
:object
,
properties
:
%{
error
:
%
Schema
{
type
:
:string
}},
example
:
%{
"error"
=>
"Something went wrong"
}
})
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 28, 3:24 AM (20 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
725926
Default Alt Text
api_error.ex (497 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment