Apply suggestion to lib/pleroma/web/api_spec/operations/instance_operation.ex

This commit is contained in:
minibikini 2020-04-30 17:45:48 +00:00 committed by Egor Kislitsyn
parent 88a14da817
commit b5189d2c50
No known key found for this signature in database
GPG Key ID: 1B49CB15B71E7805

View File

@ -26,7 +26,7 @@ defmodule Pleroma.Web.ApiSpec.InstanceOperation do
def peers_operation do
%Operation{
tags: ["Instance"],
summary: "List of connected domains",
summary: "List of known hosts",
operationId: "InstanceController.peers",
responses: %{
200 => Operation.response("Array of domains", "application/json", array_of_domains())