aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger/v1_json.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-rw-r--r--templates/swagger/v1_json.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 96dd262301..992cdf5bda 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -3509,6 +3509,9 @@
"403": {
"$ref": "#/responses/forbidden"
},
+ "409": {
+ "description": "The repository with the same name already exists."
+ },
"422": {
"$ref": "#/responses/validationError"
}
@@ -13376,6 +13379,11 @@
"description": "CreateForkOption options for creating a fork",
"type": "object",
"properties": {
+ "name": {
+ "description": "name of the forked repository",
+ "type": "string",
+ "x-go-name": "Name"
+ },
"organization": {
"description": "organization name, if forking into an organization",
"type": "string",