mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-25 13:16:40 +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
|
@ -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 a new issue