forked from mirrors/akkoma
Add OpenAPI spec for AccountController.identity_proofs
operation
This commit is contained in:
parent
736fead494
commit
ed3974af24
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue