Add OpenAPI
authorEgor Kislitsyn <egor@kislitsyn.com>
Wed, 1 Apr 2020 19:00:59 +0000 (23:00 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Wed, 1 Apr 2020 19:13:08 +0000 (23:13 +0400)
commit23219e6fb3163bfac07fb5fb1b2602dcd27e47c2
tree0e878d883de8d33d86ac334b74b25543fd62dc23
parent8bd5ad8664479b722e6905306f6342f35e2a84d2
Add OpenAPI
12 files changed:
lib/pleroma/web/api_spec.ex [new file with mode: 0644]
lib/pleroma/web/api_spec/operations/app_operation.ex [new file with mode: 0644]
lib/pleroma/web/api_spec/schemas/app_create_request.ex [new file with mode: 0644]
lib/pleroma/web/api_spec/schemas/app_create_response.ex [new file with mode: 0644]
lib/pleroma/web/mastodon_api/controllers/app_controller.ex
lib/pleroma/web/oauth/scopes.ex
lib/pleroma/web/router.ex
mix.exs
mix.lock
test/web/api_spec/app_operation_test.exs [new file with mode: 0644]
test/web/mastodon_api/controllers/account_controller_test.exs
test/web/mastodon_api/controllers/app_controller_test.exs