summaryrefslogtreecommitdiffstats
path: root/swagger.v1.json
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-02-09 21:28:09 +0100
committerCyborus <cyborus@cyborus.xyz>2024-02-09 21:29:34 +0100
commitc51e0802143d4cbd546296e9c2889361a9a3cf1d (patch)
tree398d7adbe60c3ff54d4c032976781184338b75cf /swagger.v1.json
parentstrongly typed header returns (diff)
downloadforgejo-api-c51e0802143d4cbd546296e9c2889361a9a3cf1d.tar.xz
forgejo-api-c51e0802143d4cbd546296e9c2889361a9a3cf1d.zip
support non-json return types
Diffstat (limited to 'swagger.v1.json')
-rw-r--r--swagger.v1.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/swagger.v1.json b/swagger.v1.json
index fa4880f..88a9f0b 100644
--- a/swagger.v1.json
+++ b/swagger.v1.json
@@ -1,11 +1,9 @@
{
"consumes": [
- "application/json",
- "text/plain"
+ "application/json"
],
"produces": [
- "application/json",
- "text/html"
+ "application/json"
],
"schemes": [
"http",
@@ -3603,7 +3601,9 @@
"/repos/{owner}/{repo}/archive/{archive}": {
"get": {
"produces": [
- "application/json"
+ "application/octet-stream",
+ "application/zip,",
+ "application/gzip"
],
"tags": [
"repository"