mirror of https://github.com/go-gitea/gitea.git
Fix compare api swagger (#30648)
The swagger format on #30349 is not right. This PR will fix it.pull/30659/head
parent
7d5a03fda2
commit
8924d9b2ef
|
@ -16,7 +16,7 @@ import (
|
||||||
|
|
||||||
// CompareDiff compare two branches or commits
|
// CompareDiff compare two branches or commits
|
||||||
func CompareDiff(ctx *context.APIContext) {
|
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
|
// summary: Get commit comparison information
|
||||||
// produces:
|
// produces:
|
||||||
|
|
|
@ -5346,12 +5346,10 @@
|
||||||
"application/json"
|
"application/json"
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
"Get",
|
"repository"
|
||||||
"commit",
|
|
||||||
"comparison"
|
|
||||||
],
|
],
|
||||||
"summary": "Get commit comparison information",
|
"summary": "Get commit comparison information",
|
||||||
"operationId": "information",
|
"operationId": "repoCompareDiff",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
Loading…
Reference in New Issue