[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
|
- 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 New Issue