|
|
@ -364,7 +364,10 @@ func (f *InitializeLabelsForm) Validate(ctx *macaron.Context, errs binding.Error |
|
|
|
// \/ \/ |__| \/ \/
|
|
|
|
// \/ \/ |__| \/ \/
|
|
|
|
|
|
|
|
|
|
|
|
// MergePullRequestForm form for merging Pull Request
|
|
|
|
// MergePullRequestForm form for merging Pull Request
|
|
|
|
|
|
|
|
// swagger:model MergePullRequestOption
|
|
|
|
type MergePullRequestForm struct { |
|
|
|
type MergePullRequestForm struct { |
|
|
|
|
|
|
|
// required: true
|
|
|
|
|
|
|
|
// enum: merge, rebase, rebase-merge, squash
|
|
|
|
Do string `binding:"Required;In(merge,rebase,rebase-merge,squash)"` |
|
|
|
Do string `binding:"Required;In(merge,rebase,rebase-merge,squash)"` |
|
|
|
MergeTitleField string |
|
|
|
MergeTitleField string |
|
|
|
MergeMessageField string |
|
|
|
MergeMessageField string |
|
|
|