mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-21 04:37:13 -04: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
|
@ -68,7 +68,7 @@ func (o *UpdateFileOptions) Branch() string {
|
|||
type ChangeFileOperation struct {
|
||||
// indicates what to do with the file
|
||||
// required: true
|
||||
// enum: create,update,delete
|
||||
// enum: ["create", "update", "delete"]
|
||||
Operation string `json:"operation" binding:"Required"`
|
||||
// path to the existing or new file
|
||||
// required: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue