Compare commits

...

1 Commits

Author SHA1 Message Date
Sven Dowideit
52bf280776 fix(swagger) the params for /restore are subtly different
Signed-off-by: Sven Dowideit <sven.dowideit@portainer.io>
2021-11-15 12:30:37 +10:00

View File

@@ -12,9 +12,9 @@ import (
)
type restorePayload struct {
FileContent []byte
FileName string
Password string
FileContent []byte `json:"file"`
FileName string `json:"filename"`
Password string `json:"password,omitempty"`
}
// @id Restore