Skip to content
Snippets Groups Projects
Commit 96eae629 authored by rinpatch's avatar rinpatch
Browse files

Merge branch 'fix/openapi-form-mimetype' into 'develop'

openapi: add application/x-www-form-urlencoded to body types

Closes #1683

See merge request pleroma/pleroma!2387
parents 6c3e09fb cc4ff19e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment