1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-31 22:58:35 +00:00

[API] Only Return Json (#13511) (#13565)

Backport #13511 

Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
6543
2020-11-15 17:29:16 +01:00
committed by GitHub
parent 9a8e02ce30
commit 48fca01b0d
5 changed files with 103 additions and 48 deletions

View File

@@ -2541,6 +2541,9 @@
"responses": {
"200": {
"$ref": "#/responses/Branch"
},
"404": {
"$ref": "#/responses/notFound"
}
}
},
@@ -2582,6 +2585,9 @@
},
"403": {
"$ref": "#/responses/error"
},
"404": {
"$ref": "#/responses/notFound"
}
}
}