[CHORE] Fix swagger deprecation message

- Fix "WARNING: item list for enum is not a valid JSON array, using the
old deprecated format" messages from
https://github.com/go-swagger/go-swagger in the CI.
This commit is contained in:
Gusted 2024-08-09 23:36:03 +02:00
parent 784173f7e9
commit 851d567776
No known key found for this signature in database
GPG key ID: FD821B732837125F
11 changed files with 17 additions and 17 deletions

View file

@ -31,7 +31,7 @@ type CreateMilestoneOption struct {
Description string `json:"description"`
// swagger:strfmt date-time
Deadline *time.Time `json:"due_on"`
// enum: open,closed
// enum: ["open", "closed"]
State string `json:"state"`
}