1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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

Backport #13511

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

View File

@@ -2318,6 +2318,9 @@
"responses": {
"200": {
"$ref": "#/responses/Branch"
},
"404": {
"$ref": "#/responses/notFound"
}
}
},
@@ -2359,6 +2362,9 @@
},
"403": {
"$ref": "#/responses/error"
},
"404": {
"$ref": "#/responses/notFound"
}
}
}