1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00

Fix compare api swagger (#30648)

The swagger format on #30349 is not right. This PR will fix it.
This commit is contained in:
Lunny Xiao 2024-04-23 10:22:43 +08:00 committed by GitHub
parent 7d5a03fda2
commit 8924d9b2ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View File

@ -16,7 +16,7 @@ import (
// CompareDiff compare two branches or commits
func CompareDiff(ctx *context.APIContext) {
// swagger:operation GET /repos/{owner}/{repo}/compare/{basehead} Get commit comparison information
// swagger:operation GET /repos/{owner}/{repo}/compare/{basehead} repository repoCompareDiff
// ---
// summary: Get commit comparison information
// produces:

View File

@ -5346,12 +5346,10 @@
"application/json"
],
"tags": [
"Get",
"commit",
"comparison"
"repository"
],
"summary": "Get commit comparison information",
"operationId": "information",
"operationId": "repoCompareDiff",
"parameters": [
{
"type": "string",