mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-02 23:53:16 -06:00
fix swagger parsing issue
This commit is contained in:
parent
cf925b2039
commit
47e8af0f4d
2 changed files with 16 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue