summaryrefslogtreecommitdiff
path: root/internal/api/activitypub
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/activitypub')
-rw-r--r--internal/api/activitypub/users/common.go2
-rw-r--r--internal/api/activitypub/users/featured.go8
2 files changed, 9 insertions, 1 deletions
diff --git a/internal/api/activitypub/users/common.go b/internal/api/activitypub/users/common.go
index 2f16c7331..a10b99d95 100644
--- a/internal/api/activitypub/users/common.go
+++ b/internal/api/activitypub/users/common.go
@@ -72,7 +72,7 @@ type SwaggerFeaturedCollection struct {
// example: OrderedCollection
Type string `json:"type"`
// List of status URIs.
- // example: ['https://example.org/users/some_user/statuses/01GSZ0F7Q8SJKNRF777GJD271R', 'https://example.org/users/some_user/statuses/01GSZ0G012CBQ7TEKX689S3QRE']
+ // example: ["https://example.org/users/some_user/statuses/01GSZ0F7Q8SJKNRF777GJD271R", "https://example.org/users/some_user/statuses/01GSZ0G012CBQ7TEKX689S3QRE"]
Items []string `json:"items"`
// Number of items in this collection.
// example: 2
diff --git a/internal/api/activitypub/users/featured.go b/internal/api/activitypub/users/featured.go
index f256c1e75..b8b4fe681 100644
--- a/internal/api/activitypub/users/featured.go
+++ b/internal/api/activitypub/users/featured.go
@@ -44,6 +44,14 @@ import (
// produces:
// - application/activity+json
//
+// parameters:
+// -
+// name: username
+// type: string
+// description: Account name of the user
+// in: path
+// required: true
+//
// responses:
// '200':
// in: body