Merge branch 'update_open_api_spex' into 'develop'
Update OpenApiSpex dependency See merge request pleroma/pleroma!3362
This commit is contained in:
commit
a2aa309496
10 changed files with 30 additions and 35 deletions
|
|
@ -67,13 +67,11 @@ defmodule Pleroma.Web.ConnCase do
|
|||
end
|
||||
|
||||
defp json_response_and_validate_schema(
|
||||
%{
|
||||
private: %{
|
||||
open_api_spex: %{operation_id: op_id, operation_lookup: lookup, spec: spec}
|
||||
}
|
||||
} = conn,
|
||||
%{private: %{operation_id: op_id}} = conn,
|
||||
status
|
||||
) do
|
||||
{spec, lookup} = OpenApiSpex.Plug.PutApiSpec.get_spec_and_operation_lookup(conn)
|
||||
|
||||
content_type =
|
||||
conn
|
||||
|> Plug.Conn.get_resp_header("content-type")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue