Add OpenAPI spec for PollController
authorEgor Kislitsyn <egor@kislitsyn.com>
Tue, 5 May 2020 16:14:22 +0000 (20:14 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Tue, 5 May 2020 16:14:22 +0000 (20:14 +0400)
commit0a1394cc1a38ce66b1b30d728856ae891aa3d7b0
tree4638ad2f411b9857be9cfbd83ec1273a5d5dfe53
parent42a2acac46602d25e7b63042990dfa56eee25b76
Add OpenAPI spec for PollController
lib/pleroma/web/api_spec/operations/poll_operation.ex [new file with mode: 0644]
lib/pleroma/web/api_spec/schemas/poll.ex
lib/pleroma/web/mastodon_api/controllers/poll_controller.ex
test/web/mastodon_api/controllers/poll_controller_test.exs