Add OpenAPI spec for `AccountController.identity_proofs` operation
This commit is contained in:
parent
736fead494
commit
ed3974af24
|
@ -341,4 +341,16 @@ def endorsements_operation do
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
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
|
end
|
||||||
|
|
Loading…
Reference in New Issue