Add OpenAPI spec for SuggestionController

This commit is contained in:
Egor Kislitsyn 2020-05-13 14:15:24 +04:00
commit bcadbf964a
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
2 changed files with 19 additions and 4 deletions

View file

@ -11,7 +11,7 @@ defmodule Pleroma.Web.MastodonAPI.SuggestionControllerTest do
res =
conn
|> get("/api/v1/suggestions")
|> json_response(200)
|> json_response_and_validate_schema(200)
assert res == []
end