diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2024-04-23 10:22:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 02:22:43 +0000 |
commit | 8924d9b2efd52132876fcd106c625a2a2db7a295 (patch) | |
tree | d0a5623a3561504f3dd0f0ca967810427ec1e786 /templates/swagger | |
parent | 7d5a03fda2089d088ce544011f93799ca0a1d193 (diff) | |
download | gitea-8924d9b2efd52132876fcd106c625a2a2db7a295.tar.gz gitea-8924d9b2efd52132876fcd106c625a2a2db7a295.zip |
Fix compare api swagger (#30648)
The swagger format on #30349 is not right. This PR will fix it.
Diffstat (limited to 'templates/swagger')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 532b8880bc..faf57454d7 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -5346,12 +5346,10 @@ "application/json" ], "tags": [ - "Get", - "commit", - "comparison" + "repository" ], "summary": "Get commit comparison information", - "operationId": "information", + "operationId": "repoCompareDiff", "parameters": [ { "type": "string", |