From: Egor Kislitsyn Date: Mon, 20 Apr 2020 14:39:05 +0000 (+0400) Subject: Add OpenAPI spec for `AccountController.identity_proofs` operation X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=ed3974af248a1b201d2008f1a128ee53550ef78b;p=akkoma Add OpenAPI spec for `AccountController.identity_proofs` operation --- diff --git a/lib/pleroma/web/api_spec/operations/account_operation.ex b/lib/pleroma/web/api_spec/operations/account_operation.ex index fe44a917a..d3cebaf05 100644 --- a/lib/pleroma/web/api_spec/operations/account_operation.ex +++ b/lib/pleroma/web/api_spec/operations/account_operation.ex @@ -341,4 +341,16 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do } } 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