* remove empty examples (#7952)

* fix missing type
This commit is contained in:
Yi Chen
2022-11-17 06:55:08 +13:00
committed by GitHub
parent eccc8131dd
commit bb48ab00cb
5 changed files with 28 additions and 28 deletions

View File

@@ -24,7 +24,7 @@ type composeStackFromFileContentPayload struct {
// Content of the Stack file
StackFileContent string `example:"version: 3\n services:\n web:\n image:nginx" validate:"required"`
// A list of environment(endpoint) variables used during stack deployment
Env []portainer.Pair `example:""`
Env []portainer.Pair
// Whether the stack is from a app template
FromAppTemplate bool `example:"false"`
}