summaryrefslogtreecommitdiffstats
path: root/public/swagger.v1.json
diff options
context:
space:
mode:
authorEthan Koenig <ethantkoenig@gmail.com>2017-11-19 23:00:53 -0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-11-20 15:00:53 +0800
commit876bafb7ef8570e62de026b999acd05556fceaee (patch)
treee6aae270ee1f30327af74d5b15b03d907d39c0be /public/swagger.v1.json
parent061f65ff297d3c2bb76776af999f80a891a74933 (diff)
downloadgitea-876bafb7ef8570e62de026b999acd05556fceaee.tar.gz
gitea-876bafb7ef8570e62de026b999acd05556fceaee.zip
Fix API status code for hook creation (#2814)
* Fix API status code for hook creation * Named constants for response statuses
Diffstat (limited to 'public/swagger.v1.json')
-rw-r--r--public/swagger.v1.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/swagger.v1.json b/public/swagger.v1.json
index 82370e49e2..6072bfba3b 100644
--- a/public/swagger.v1.json
+++ b/public/swagger.v1.json
@@ -1527,7 +1527,7 @@
}
],
"responses": {
- "200": {
+ "201": {
"$ref": "#/responses/Hook"
}
}