mirror of
1
Fork 0

[chore] Fix a Swagger warning that only manifests during Go client code generation (#2729)

This commit is contained in:
Vyr Cossont 2024-03-06 09:44:58 -08:00 committed by GitHub
parent fc3741365c
commit 5159664a51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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