fix swagger parsing issue

This commit is contained in:
tobi 2024-12-08 13:17:22 +01:00
commit 47e8af0f4d
2 changed files with 16 additions and 2 deletions

View file

@ -3642,6 +3642,12 @@ paths:
get:
description: 'THIS ENDPOINT IS CURRENTLY NOT FULLY IMPLEMENTED: it will always return an empty array.'
operationId: accountsFeaturedTags
parameters:
- description: The id of the account.
in: path
name: id
required: true
type: string
produces:
- application/json
responses:
@ -3664,7 +3670,7 @@ paths:
security:
- OAuth2 Bearer:
- read:accounts
summary: Get an array of a user's featured tags.
summary: Get an array of target account's featured tags.
tags:
- accounts
/api/v1/accounts/{id}/follow:

View file

@ -28,7 +28,7 @@ import (
// AccountFeaturedTagsGETHandler swagger:operation GET /api/v1/accounts/{id}/featured_tags accountsFeaturedTags
//
// Get an array of a user's featured tags.
// Get an array of target account's featured tags.
//
// THIS ENDPOINT IS CURRENTLY NOT FULLY IMPLEMENTED: it will always return an empty array.
//
@ -39,6 +39,14 @@ import (
// produces:
// - application/json
//
// parameters:
// -
// name: id
// type: string
// description: The id of the account.
// in: path
// required: true
//
// security:
// - OAuth2 Bearer:
// - read:accounts