Add OpenAPI spec for SubscriptionController
authorEgor Kislitsyn <egor@kislitsyn.com>
Tue, 5 May 2020 12:43:00 +0000 (16:43 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Tue, 5 May 2020 12:43:00 +0000 (16:43 +0400)
commitd861b0790a62767b31b8a85862fc249a4f8ca542
tree53b750793da0b04b6c36043ff07b1ec187338c86
parent33f29760200e00305be20350898ebfd2b3ce21af
Add OpenAPI spec for SubscriptionController
lib/pleroma/web/api_spec.ex
lib/pleroma/web/api_spec/operations/subscription_operation.ex [new file with mode: 0644]
lib/pleroma/web/api_spec/schemas/push_subscription.ex [new file with mode: 0644]
lib/pleroma/web/mastodon_api/controllers/subscription_controller.ex
lib/pleroma/web/push/subscription.ex
lib/pleroma/web/router.ex
test/web/mastodon_api/controllers/subscription_controller_test.exs