Add spec for AccountController.follow

This commit is contained in:
Egor Kislitsyn 2020-04-09 15:25:24 +04:00
commit 854780c72b
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
6 changed files with 51 additions and 28 deletions

View file

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