operation use helper function for empty object
This commit is contained in:
parent
d4f50f2ba9
commit
c95bbeadc3
@ -56,9 +56,7 @@ defmodule Pleroma.Web.ApiSpec.DomainMuteOperation do
|
|||||||
operationId: "DomainMuteController.delete",
|
operationId: "DomainMuteController.delete",
|
||||||
requestBody: domain_mute_request(),
|
requestBody: domain_mute_request(),
|
||||||
security: [%{"oAuth" => ["follow", "write:mutes"]}],
|
security: [%{"oAuth" => ["follow", "write:mutes"]}],
|
||||||
responses: %{
|
responses: %{200 => empty_object_response()}
|
||||||
200 => Operation.response("Empty object", "application/json", %Schema{type: :object})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user