mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-01-27 19:16:38 +01:00
[docs] Swagger: fix filter context params by moving enum list from the list type to the item type (#3684)
Reported by `@modulus:matrix.org`
This commit is contained in:
parent
4c052c85f5
commit
3ab2d8621b
5 changed files with 48 additions and 48 deletions
|
@ -7954,14 +7954,14 @@ paths:
|
||||||
The contexts in which the filter should be applied.
|
The contexts in which the filter should be applied.
|
||||||
|
|
||||||
Sample: home, public
|
Sample: home, public
|
||||||
enum:
|
|
||||||
- home
|
|
||||||
- notifications
|
|
||||||
- public
|
|
||||||
- thread
|
|
||||||
- account
|
|
||||||
in: formData
|
in: formData
|
||||||
items:
|
items:
|
||||||
|
enum:
|
||||||
|
- home
|
||||||
|
- notifications
|
||||||
|
- public
|
||||||
|
- thread
|
||||||
|
- account
|
||||||
type: string
|
type: string
|
||||||
minItems: 1
|
minItems: 1
|
||||||
name: context[]
|
name: context[]
|
||||||
|
@ -8108,14 +8108,14 @@ paths:
|
||||||
The contexts in which the filter should be applied.
|
The contexts in which the filter should be applied.
|
||||||
|
|
||||||
Sample: home, public
|
Sample: home, public
|
||||||
enum:
|
|
||||||
- home
|
|
||||||
- notifications
|
|
||||||
- public
|
|
||||||
- thread
|
|
||||||
- account
|
|
||||||
in: formData
|
in: formData
|
||||||
items:
|
items:
|
||||||
|
enum:
|
||||||
|
- home
|
||||||
|
- notifications
|
||||||
|
- public
|
||||||
|
- thread
|
||||||
|
- account
|
||||||
type: string
|
type: string
|
||||||
minItems: 1
|
minItems: 1
|
||||||
name: context[]
|
name: context[]
|
||||||
|
@ -11835,14 +11835,14 @@ paths:
|
||||||
The contexts in which the filter should be applied.
|
The contexts in which the filter should be applied.
|
||||||
|
|
||||||
Sample: home, public
|
Sample: home, public
|
||||||
enum:
|
|
||||||
- home
|
|
||||||
- notifications
|
|
||||||
- public
|
|
||||||
- thread
|
|
||||||
- account
|
|
||||||
in: formData
|
in: formData
|
||||||
items:
|
items:
|
||||||
|
enum:
|
||||||
|
- home
|
||||||
|
- notifications
|
||||||
|
- public
|
||||||
|
- thread
|
||||||
|
- account
|
||||||
type: string
|
type: string
|
||||||
minItems: 1
|
minItems: 1
|
||||||
name: context[]
|
name: context[]
|
||||||
|
@ -12029,14 +12029,14 @@ paths:
|
||||||
The contexts in which the filter should be applied.
|
The contexts in which the filter should be applied.
|
||||||
|
|
||||||
Sample: home, public
|
Sample: home, public
|
||||||
enum:
|
|
||||||
- home
|
|
||||||
- notifications
|
|
||||||
- public
|
|
||||||
- thread
|
|
||||||
- account
|
|
||||||
in: formData
|
in: formData
|
||||||
items:
|
items:
|
||||||
|
enum:
|
||||||
|
- home
|
||||||
|
- notifications
|
||||||
|
- public
|
||||||
|
- thread
|
||||||
|
- account
|
||||||
type: string
|
type: string
|
||||||
minItems: 1
|
minItems: 1
|
||||||
name: context[]
|
name: context[]
|
||||||
|
|
|
@ -63,16 +63,16 @@
|
||||||
// The contexts in which the filter should be applied.
|
// The contexts in which the filter should be applied.
|
||||||
//
|
//
|
||||||
// Sample: home, public
|
// Sample: home, public
|
||||||
// enum:
|
|
||||||
// - home
|
|
||||||
// - notifications
|
|
||||||
// - public
|
|
||||||
// - thread
|
|
||||||
// - account
|
|
||||||
// type: array
|
// type: array
|
||||||
// items:
|
// items:
|
||||||
// type:
|
// type:
|
||||||
// string
|
// string
|
||||||
|
// enum:
|
||||||
|
// - home
|
||||||
|
// - notifications
|
||||||
|
// - public
|
||||||
|
// - thread
|
||||||
|
// - account
|
||||||
// collectionFormat: multi
|
// collectionFormat: multi
|
||||||
// minItems: 1
|
// minItems: 1
|
||||||
// uniqueItems: true
|
// uniqueItems: true
|
||||||
|
|
|
@ -69,16 +69,16 @@
|
||||||
// The contexts in which the filter should be applied.
|
// The contexts in which the filter should be applied.
|
||||||
//
|
//
|
||||||
// Sample: home, public
|
// Sample: home, public
|
||||||
// enum:
|
|
||||||
// - home
|
|
||||||
// - notifications
|
|
||||||
// - public
|
|
||||||
// - thread
|
|
||||||
// - account
|
|
||||||
// type: array
|
// type: array
|
||||||
// items:
|
// items:
|
||||||
// type:
|
// type:
|
||||||
// string
|
// string
|
||||||
|
// enum:
|
||||||
|
// - home
|
||||||
|
// - notifications
|
||||||
|
// - public
|
||||||
|
// - thread
|
||||||
|
// - account
|
||||||
// collectionFormat: multi
|
// collectionFormat: multi
|
||||||
// minItems: 1
|
// minItems: 1
|
||||||
// uniqueItems: true
|
// uniqueItems: true
|
||||||
|
|
|
@ -65,16 +65,16 @@
|
||||||
// The contexts in which the filter should be applied.
|
// The contexts in which the filter should be applied.
|
||||||
//
|
//
|
||||||
// Sample: home, public
|
// Sample: home, public
|
||||||
// enum:
|
|
||||||
// - home
|
|
||||||
// - notifications
|
|
||||||
// - public
|
|
||||||
// - thread
|
|
||||||
// - account
|
|
||||||
// type: array
|
// type: array
|
||||||
// items:
|
// items:
|
||||||
// type:
|
// type:
|
||||||
// string
|
// string
|
||||||
|
// enum:
|
||||||
|
// - home
|
||||||
|
// - notifications
|
||||||
|
// - public
|
||||||
|
// - thread
|
||||||
|
// - account
|
||||||
// collectionFormat: multi
|
// collectionFormat: multi
|
||||||
// minItems: 1
|
// minItems: 1
|
||||||
// uniqueItems: true
|
// uniqueItems: true
|
||||||
|
|
|
@ -98,16 +98,16 @@
|
||||||
// The contexts in which the filter should be applied.
|
// The contexts in which the filter should be applied.
|
||||||
//
|
//
|
||||||
// Sample: home, public
|
// Sample: home, public
|
||||||
// enum:
|
|
||||||
// - home
|
|
||||||
// - notifications
|
|
||||||
// - public
|
|
||||||
// - thread
|
|
||||||
// - account
|
|
||||||
// type: array
|
// type: array
|
||||||
// items:
|
// items:
|
||||||
// type:
|
// type:
|
||||||
// string
|
// string
|
||||||
|
// enum:
|
||||||
|
// - home
|
||||||
|
// - notifications
|
||||||
|
// - public
|
||||||
|
// - thread
|
||||||
|
// - account
|
||||||
// collectionFormat: multi
|
// collectionFormat: multi
|
||||||
// minItems: 1
|
// minItems: 1
|
||||||
// uniqueItems: true
|
// uniqueItems: true
|
||||||
|
|
Loading…
Reference in a new issue