mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 08:12:25 -05:00
[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
This commit is contained in:
parent
c27049ad15
commit
13b9fd5f92
6 changed files with 47 additions and 3 deletions
|
|
@ -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':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue