diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2021-02-16 23:23:35 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2021-03-15 06:47:06 +0100 |
commit | 7eecc3b61d6da64e0bfdc5b155cba0dae07b84d5 (patch) | |
tree | e5661db20ca60070344b93b83a0d932f25254a57 /lib | |
parent | 19fbe5b860789fb6f4958de71f9ca3ed655ee00d (diff) | |
download | pleroma-7eecc3b61d6da64e0bfdc5b155cba0dae07b84d5.tar.gz |
OpenAPI: MastodonAPI Timeline Controller
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/api_spec/operations/timeline_operation.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/api_spec/operations/timeline_operation.ex b/lib/pleroma/web/api_spec/operations/timeline_operation.ex index cae18c758..24d792916 100644 --- a/lib/pleroma/web/api_spec/operations/timeline_operation.ex +++ b/lib/pleroma/web/api_spec/operations/timeline_operation.ex @@ -115,7 +115,8 @@ defmodule Pleroma.Web.ApiSpec.TimelineOperation do ], operationId: "TimelineController.hashtag", responses: %{ - 200 => Operation.response("Array of Status", "application/json", array_of_statuses()) + 200 => Operation.response("Array of Status", "application/json", array_of_statuses()), + 401 => Operation.response("Error", "application/json", ApiError) } } end |