summaryrefslogtreecommitdiffstats
path: root/swagger.v1.json
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-04-26 18:12:39 +0200
committerCyborus <cyborus@cyborus.xyz>2024-04-26 18:12:39 +0200
commit5fda006b0f974d4ecf85ce850f144a18e79f2db7 (patch)
tree7442f559f87532faa1597fe16a85bb7a98a628f2 /swagger.v1.json
parentMerge pull request 'update to Forgejo 7.0's API' (#46) from v7.0 into main (diff)
downloadforgejo-api-5fda006b0f974d4ecf85ce850f144a18e79f2db7.tar.xz
forgejo-api-5fda006b0f974d4ecf85ce850f144a18e79f2db7.zip
fix `repo_get_raw_file{_or_lfs}` not returning `Vec<u8>`
Diffstat (limited to 'swagger.v1.json')
-rw-r--r--swagger.v1.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/swagger.v1.json b/swagger.v1.json
index 36592ad..274063a 100644
--- a/swagger.v1.json
+++ b/swagger.v1.json
@@ -9112,6 +9112,7 @@
},
"/repos/{owner}/{repo}/media/{filepath}": {
"get": {
+ "produces": ["*/*"],
"tags": ["repository"],
"summary": "Get a file or it's LFS object from a repository",
"operationId": "repoGetRawFileOrLFS",
@@ -11172,7 +11173,7 @@
},
"/repos/{owner}/{repo}/raw/{filepath}": {
"get": {
- "produces": ["application/json"],
+ "produces": ["*/*"],
"tags": ["repository"],
"summary": "Get a file from a repository",
"operationId": "repoGetRawFile",