mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2024-12-23 07:06:46 +01:00
[chore] Fix a Swagger warning that only manifests during Go client code generation (#2729)
This commit is contained in:
parent
fc3741365c
commit
5159664a51
@ -1018,7 +1018,7 @@ definitions:
|
||||
- public
|
||||
items:
|
||||
$ref: '#/definitions/filterContext'
|
||||
minLength: 1
|
||||
minItems: 1
|
||||
type: array
|
||||
uniqueItems: true
|
||||
x-go-name: Context
|
||||
|
@ -40,7 +40,7 @@ type FilterV1 struct {
|
||||
Phrase string `json:"phrase"`
|
||||
// The contexts in which the filter should be applied.
|
||||
//
|
||||
// Minimum length: 1
|
||||
// Minimum items: 1
|
||||
// Unique: true
|
||||
// Enum:
|
||||
// - home
|
||||
|
Loading…
Reference in New Issue
Block a user