projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
support for expires_in/expires_at in filters
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
operations
/
app_operation.ex
diff --git
a/lib/pleroma/web/api_spec/operations/app_operation.ex
b/lib/pleroma/web/api_spec/operations/app_operation.ex
index f6ccd073fec07d8348d33e20f257e4a1eabcee2a..7587e488edc41b848bdf0468f03d4f85a9e9be39 100644
(file)
--- a/
lib/pleroma/web/api_spec/operations/app_operation.ex
+++ b/
lib/pleroma/web/api_spec/operations/app_operation.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ApiSpec.AppOperation do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.ApiSpec.AppOperation do
@@
-105,7
+105,11
@@
defmodule Pleroma.Web.ApiSpec.AppOperation do
description: "Space separated list of scopes",
default: "read"
},
description: "Space separated list of scopes",
default: "read"
},
- website: %Schema{type: :string, description: "A URL to the homepage of your app"}
+ website: %Schema{
+ type: :string,
+ nullable: true,
+ description: "A URL to the homepage of your app"
+ }
},
required: [:client_name, :redirect_uris],
example: %{
},
required: [:client_name, :redirect_uris],
example: %{