|
|
@ -367,7 +367,7 @@ func (f *InitializeLabelsForm) Validate(ctx *macaron.Context, errs binding.Error |
|
|
|
// swagger:model MergePullRequestOption
|
|
|
|
// swagger:model MergePullRequestOption
|
|
|
|
type MergePullRequestForm struct { |
|
|
|
type MergePullRequestForm struct { |
|
|
|
// required: true
|
|
|
|
// required: true
|
|
|
|
// enum: merge, rebase, rebase-merge, squash
|
|
|
|
// 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 |
|
|
|