mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-05 01:45:22 +02:00
[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:
parent
784173f7e9
commit
851d567776
11 changed files with 17 additions and 17 deletions
|
@ -63,7 +63,7 @@ type Issue struct {
|
|||
// Whether the issue is open or closed
|
||||
//
|
||||
// type: string
|
||||
// enum: open,closed
|
||||
// enum: ["open", "closed"]
|
||||
State StateType `json:"state"`
|
||||
IsLocked bool `json:"is_locked"`
|
||||
Comments int `json:"comments"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue