|
|
@@ -19,9 +19,10 @@ type Environment struct {
|
|
|
}
|
|
|
|
|
|
type CreateEnvironmentRequest struct {
|
|
|
- Name string `json:"name" form:"required"`
|
|
|
- Mode string `json:"mode" form:"oneof=auto manual" default:"manual"`
|
|
|
- GitRepoBranches []string `json:"git_repo_branches"`
|
|
|
+ Name string `json:"name" form:"required"`
|
|
|
+ Mode string `json:"mode" form:"oneof=auto manual" default:"manual"`
|
|
|
+ DisableNewComments bool `json:"disable_new_comments"`
|
|
|
+ GitRepoBranches []string `json:"git_repo_branches"`
|
|
|
}
|
|
|
|
|
|
type GitHubMetadata struct {
|