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 authored and GitHub committed 2024-04-23 02:22:43 +00:00
1 parent 7d5a03fda2
commit 8924d9b2ef
2 files changed
+3 -5

No files matched your search

+1 -1
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: