fix(swagger): add swagger annotation for pull and redeploy stack

This commit is contained in:
Hui
2021-07-22 11:40:53 +12:00
committed by GitHub
parent 7b2269fbba
commit 68453482af
6 changed files with 27 additions and 8 deletions

View File

@@ -1,7 +1,10 @@
package gittypes
type RepoConfig struct {
URL string
ReferenceName string
ConfigFilePath string
// The repo url
URL string `example:"https://github.com/portainer/portainer-ee.git"`
// The reference name
ReferenceName string `example:"refs/heads/branch_name"`
// Path to where the config file is in this url/refName
ConfigFilePath string `example:"docker-compose.yml"`
}