summaryrefslogtreecommitdiff
path: root/internal/api/client/accounts/statuses.go
diff options
context:
space:
mode:
authorLibravatar Vyr Cossont <VyrCossont@users.noreply.github.com>2024-03-13 04:23:26 -0700
committerLibravatar GitHub <noreply@github.com>2024-03-13 12:23:26 +0100
commit13b9fd5f9257d02b85cb5e8df54c6a2495bf48ae (patch)
treee3204267946e61ba9b078409bc49e2c27fddf8f0 /internal/api/client/accounts/statuses.go
parent[chore] bump modernc.org/sqlite v1.28.0 -> v1.29.4 (#2749) (diff)
downloadgotosocial-13b9fd5f9257d02b85cb5e8df54c6a2495bf48ae.tar.xz
[bugfix]: Add missing Link headers in Swagger spec (#2751)
* Adds Link headers to all endpoints that use it for paging * Fixes the return type for listing what accounts someone follows
Diffstat (limited to 'internal/api/client/accounts/statuses.go')
-rw-r--r--internal/api/client/accounts/statuses.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/api/client/accounts/statuses.go b/internal/api/client/accounts/statuses.go
index 870a96891..cd93cb74e 100644
--- a/internal/api/client/accounts/statuses.go
+++ b/internal/api/client/accounts/statuses.go
@@ -119,6 +119,10 @@ import (
// type: array
// items:
// "$ref": "#/definitions/status"
+// headers:
+// Link:
+// type: string
+// description: Links to the next and previous queries.
// '400':
// description: bad request
// '401':