Add spec for AccountController.verify_credentials

This commit is contained in:
Egor Kislitsyn 2020-04-06 00:15:37 +04:00
commit f80116125f
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
8 changed files with 262 additions and 9 deletions

View file

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