Add OpenAPI spec for FilterController
authorEgor Kislitsyn <egor@kislitsyn.com>
Tue, 14 Apr 2020 14:36:32 +0000 (18:36 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Tue, 5 May 2020 13:41:01 +0000 (17:41 +0400)
commit7e7a3e15449792581412be002f287c504e3449a6
treea34265cf238869fede7072611949f8fdd2c9c0d0
parent33f29760200e00305be20350898ebfd2b3ce21af
Add OpenAPI spec for FilterController
lib/pleroma/filter.ex
lib/pleroma/web/api_spec/operations/filter_operation.ex [new file with mode: 0644]
lib/pleroma/web/api_spec/schemas/filter.ex [new file with mode: 0644]
lib/pleroma/web/api_spec/schemas/filter_create_request.ex [new file with mode: 0644]
lib/pleroma/web/api_spec/schemas/filter_update_request.ex [new file with mode: 0644]
lib/pleroma/web/api_spec/schemas/filters_response.ex [new file with mode: 0644]
lib/pleroma/web/mastodon_api/controllers/filter_controller.ex
lib/pleroma/web/mastodon_api/views/filter_view.ex
test/filter_test.exs
test/web/mastodon_api/controllers/filter_controller_test.exs