Add OpenAPI spec for SubscriptionController

This commit is contained in:
Egor Kislitsyn 2020-05-05 16:43:00 +04:00
commit d861b0790a
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
7 changed files with 288 additions and 25 deletions

View file

@ -39,7 +39,12 @@ defmodule Pleroma.Web.ApiSpec do
password: %OpenApiSpex.OAuthFlow{
authorizationUrl: "/oauth/authorize",
tokenUrl: "/oauth/token",
scopes: %{"read" => "read", "write" => "write", "follow" => "follow"}
scopes: %{
"read" => "read",
"write" => "write",
"follow" => "follow",
"push" => "push"
}
}
}
}