Add OpenAPI spec for AccountController.identity_proofs operation

This commit is contained in:
Egor Kislitsyn 2020-04-20 18:39:05 +04:00
parent 736fead494
commit ed3974af24

View File

@ -341,4 +341,16 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
} }
} }
end end
def identity_proofs_operation do
%Operation{
tags: ["accounts"],
summary: "Identity proofs",
operationId: "AccountController.identity_proofs",
description: "Not implemented",
responses: %{
200 => Operation.response("Empry array", "application/json", %Schema{type: :array})
}
}
end
end end