summaryrefslogtreecommitdiffstats
path: root/modules/auth/repo_form.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/auth/repo_form.go')
-rw-r--r--modules/auth/repo_form.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go
index ff64d9a56b..3f5078171a 100644
--- a/modules/auth/repo_form.go
+++ b/modules/auth/repo_form.go
@@ -364,7 +364,10 @@ func (f *InitializeLabelsForm) Validate(ctx *macaron.Context, errs binding.Error
// \/ \/ |__| \/ \/
// MergePullRequestForm form for merging Pull Request
+// swagger:model MergePullRequestOption
type MergePullRequestForm struct {
+ // required: true
+ // enum: merge, rebase, rebase-merge, squash
Do string `binding:"Required;In(merge,rebase,rebase-merge,squash)"`
MergeTitleField string
MergeMessageField string