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

API: GetReleaseByID return 404 if not found (#12933)

* API: GetReleaseByID return 404 if not found

* update swagger docs
This commit is contained in:
6543
2020-09-25 00:36:56 +02:00
committed by GitHub
parent ba20dd7a7b
commit efebb824ac
2 changed files with 24 additions and 2 deletions

View File

@@ -7563,6 +7563,9 @@
"201": {
"$ref": "#/responses/Release"
},
"404": {
"$ref": "#/responses/notFound"
},
"409": {
"$ref": "#/responses/error"
}
@@ -7606,6 +7609,9 @@
"responses": {
"200": {
"$ref": "#/responses/Release"
},
"404": {
"$ref": "#/responses/notFound"
}
}
},
@@ -7642,6 +7648,9 @@
"responses": {
"204": {
"$ref": "#/responses/empty"
},
"404": {
"$ref": "#/responses/notFound"
}
}
},
@@ -7691,6 +7700,9 @@
"responses": {
"200": {
"$ref": "#/responses/Release"
},
"404": {
"$ref": "#/responses/notFound"
}
}
}