projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf3afbc
)
openapi: add application/x-www-form-urlencoded to body types
author
rinpatch
<rinpatch@sdf.org>
Tue, 14 Apr 2020 21:49:21 +0000
(
00:49
+0300)
committer
rinpatch
<rinpatch@sdf.org>
Tue, 14 Apr 2020 21:49:21 +0000
(
00:49
+0300)
Closes #1683
lib/pleroma/web/api_spec/helpers.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/api_spec/helpers.ex
b/lib/pleroma/web/api_spec/helpers.ex
index 35cf4c0d8313e7c9ff0712f23eef462e593dd4d2..7348dcbee6c5d32a667f7e6a9a1e565627d486d5 100644
(file)
--- a/
lib/pleroma/web/api_spec/helpers.ex
+++ b/
lib/pleroma/web/api_spec/helpers.ex
@@
-4,7
+4,7
@@
defmodule Pleroma.Web.ApiSpec.Helpers do
def request_body(description, schema_ref, opts \\ []) do
- media_types = ["application/json", "multipart/form-data"]
+ media_types = ["application/json", "multipart/form-data"
, "application/x-www-form-urlencoded"
]
content =
media_types