We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[x]
Swagger description doesn't reflect API for repoMergePullRequest endpoint. Some parameters needs to be sent: https://github.com/go-gitea/gitea/blob/master/modules/auth/repo_form.go#L366
type MergePullRequestForm struct { Do string `binding:"Required;In(merge,rebase,rebase-merge,squash)"` MergeTitleField string MergeMessageField string }
But the swagger description doesn't mention them: https://github.com/go-gitea/gitea/blob/master/templates/swagger/v1_json.tmpl#L3660
... { "produces": [ "application/json" ], "tags": [ "repository" ], "summary": "Merge a pull request", "operationId": "repoMergePullRequest", "parameters": [ { "type": "string", "description": "owner of the repo", "name": "owner", "in": "path", "required": true }, { "type": "string", "description": "name of the repo", "name": "repo", "in": "path", "required": true }, { "type": "integer", "format": "int64", "description": "index of the pull request to merge", "name": "index", "in": "path", "required": true } ], "responses": { "200": { "$ref": "#/responses/empty" }, "405": { "$ref": "#/responses/empty" } } } ... }
The text was updated successfully, but these errors were encountered:
Fix go-gitea#5799 - swagger for mergePullRequest
b3a6f61
Fix #5799 - swagger for mergePullRequest (#5996)
7fb09f0
Successfully merging a pull request may close this issue.
[x]
):Description
Swagger description doesn't reflect API for repoMergePullRequest endpoint.
Some parameters needs to be sent: https://github.com/go-gitea/gitea/blob/master/modules/auth/repo_form.go#L366
But the swagger description doesn't mention them: https://github.com/go-gitea/gitea/blob/master/templates/swagger/v1_json.tmpl#L3660
The text was updated successfully, but these errors were encountered: