Skip to content

Commit

Permalink
[chore] Fix a Swagger warning that only manifests during Go client co…
Browse files Browse the repository at this point in the history
…de generation (#2729)
  • Loading branch information
VyrCossont authored Mar 6, 2024
1 parent fc37413 commit 5159664
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ definitions:
- public
items:
$ref: '#/definitions/filterContext'
minLength: 1
minItems: 1
type: array
uniqueItems: true
x-go-name: Context
Expand Down
2 changes: 1 addition & 1 deletion internal/api/model/filterv1.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5159664

Please sign in to comment.