Add OpenAPI spec for DomainBlockController
authorEgor Kislitsyn <egor@kislitsyn.com>
Mon, 13 Apr 2020 18:44:52 +0000 (22:44 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Mon, 13 Apr 2020 18:44:52 +0000 (22:44 +0400)
commit4dca712e90a81a1a754608eb4f8e22dae99eb755
treeb098adc24df16f17a1ee06bd1acea371287b3a81
parentef37774403ff5af69a637875240eec205b6f55a5
Add OpenAPI spec for DomainBlockController
lib/pleroma/web/api_spec.ex
lib/pleroma/web/api_spec/operations/domain_block_operation.ex [new file with mode: 0644]
lib/pleroma/web/api_spec/schemas/domain_block_request.ex [new file with mode: 0644]
lib/pleroma/web/api_spec/schemas/domain_blocks_response.ex [new file with mode: 0644]
lib/pleroma/web/mastodon_api/controllers/domain_block_controller.ex
test/web/mastodon_api/controllers/domain_block_controller_test.exs