summaryrefslogtreecommitdiff
path: root/internal/api/client/account/following.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/account/following.go')
-rw-r--r--internal/api/client/account/following.go65
1 files changed, 33 insertions, 32 deletions
diff --git a/internal/api/client/account/following.go b/internal/api/client/account/following.go
index d03bf143d..3d69739c3 100644
--- a/internal/api/client/account/following.go
+++ b/internal/api/client/account/following.go
@@ -32,42 +32,43 @@ import (
//
// See accounts followed by given account id.
//
-// ---
-// tags:
-// - accounts
+// ---
+// tags:
+// - accounts
//
-// produces:
-// - application/json
+// produces:
+// - application/json
//
-// parameters:
-// - name: id
-// type: string
-// description: Account ID.
-// in: path
-// required: true
+// parameters:
+// -
+// name: id
+// type: string
+// description: Account ID.
+// in: path
+// required: true
//
-// security:
-// - OAuth2 Bearer:
-// - read:accounts
+// security:
+// - OAuth2 Bearer:
+// - read:accounts
//
-// responses:
-// '200':
-// name: accounts
-// description: Array of accounts that are followed by this account.
-// schema:
-// type: array
-// items:
-// "$ref": "#/definitions/account"
-// '400':
-// description: bad request
-// '401':
-// description: unauthorized
-// '404':
-// description: not found
-// '406':
-// description: not acceptable
-// '500':
-// description: internal server error
+// responses:
+// '200':
+// name: accounts
+// description: Array of accounts that are followed by this account.
+// schema:
+// type: array
+// items:
+// "$ref": "#/definitions/account"
+// '400':
+// description: bad request
+// '401':
+// description: unauthorized
+// '404':
+// description: not found
+// '406':
+// description: not acceptable
+// '500':
+// description: internal server error
func (m *Module) AccountFollowingGETHandler(c *gin.Context) {
authed, err := oauth.Authed(c, true, true, true, true)
if err != nil {