Remove extra spaces (#6016)

tokarchuk/v1.17
Thomas Loubiou 6 years ago committed by Lauris BH
parent 8c865f3ce8
commit d252d4eb8c
  1. 2
      modules/auth/repo_form.go
  2. 6
      templates/swagger/v1_json.tmpl

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

@ -7718,9 +7718,9 @@
"type": "string", "type": "string",
"enum": [ "enum": [
"merge", "merge",
" rebase", "rebase",
" rebase-merge", "rebase-merge",
" squash" "squash"
] ]
}, },
"MergeMessageField": { "MergeMessageField": {

Loading…
Cancel
Save