|
|
@ -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 |
|
|
|