Add OpenAPI spec for ListController

This commit is contained in:
Egor Kislitsyn 2020-05-05 17:05:34 +04:00
commit 5ec6aad567
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
6 changed files with 266 additions and 53 deletions

View file

@ -74,7 +74,7 @@ defmodule Pleroma.Web.ConnCase do
status = Plug.Conn.Status.code(status)
unless lookup[op_id].responses[status] do
err = "Response schema not found for #{conn.status} #{conn.method} #{conn.request_path}"
err = "Response schema not found for #{status} #{conn.method} #{conn.request_path}"
flunk(err)
end