diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-04-20 18:39:05 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-04-20 18:40:02 +0400 |
commit | ed3974af248a1b201d2008f1a128ee53550ef78b (patch) | |
tree | ab8c9050f82e3f26149beb411a4db706bd8e902f /lib | |
parent | 736fead494f6140871919308e872bb6fe5b7a196 (diff) | |
download | pleroma-ed3974af248a1b201d2008f1a128ee53550ef78b.tar.gz |
Add OpenAPI spec for `AccountController.identity_proofs` operation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/api_spec/operations/account_operation.ex | 12 |
1 files changed, 12 insertions, 0 deletions
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 |