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