mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-24 09:20:59 +00:00
[chore] Fix a Swagger warning that only manifests during Go client code generation (#2729)
This commit is contained in:
parent
fc3741365c
commit
5159664a51
2 changed files with 2 additions and 2 deletions
|
@ -1018,7 +1018,7 @@ definitions:
|
||||||
- public
|
- public
|
||||||
items:
|
items:
|
||||||
$ref: '#/definitions/filterContext'
|
$ref: '#/definitions/filterContext'
|
||||||
minLength: 1
|
minItems: 1
|
||||||
type: array
|
type: array
|
||||||
uniqueItems: true
|
uniqueItems: true
|
||||||
x-go-name: Context
|
x-go-name: Context
|
||||||
|
|
|
@ -40,7 +40,7 @@ type FilterV1 struct {
|
||||||
Phrase string `json:"phrase"`
|
Phrase string `json:"phrase"`
|
||||||
// The contexts in which the filter should be applied.
|
// The contexts in which the filter should be applied.
|
||||||
//
|
//
|
||||||
// Minimum length: 1
|
// Minimum items: 1
|
||||||
// Unique: true
|
// Unique: true
|
||||||
// Enum:
|
// Enum:
|
||||||
// - home
|
// - home
|
||||||
|
|
Loading…
Reference in a new issue