1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-27 03:55:05 +01:00

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
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