Add OpenAPI spec for `AccountController.identity_proofs` operation
authorEgor Kislitsyn <egor@kislitsyn.com>
Mon, 20 Apr 2020 14:39:05 +0000 (18:39 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Mon, 20 Apr 2020 14:40:02 +0000 (18:40 +0400)
lib/pleroma/web/api_spec/operations/account_operation.ex

index fe44a917ab9956b450186ac16c360b949cfa9dbb..d3cebaf056ccfa587a593701992750bb40aa1765 100644 (file)
@@ -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