summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKlaus Frank <gitlab.com@agowa338.de>2018-06-08 11:04:21 +0000
committerRémy Coutable <remy@rymai.me>2018-08-29 17:35:39 +0200
commitf051ba693810116731f319cb7de6b4f8be20d789 (patch)
treebc116efe042747f8b0b7c0451dd26639fe0338bd /doc
parent13d22b3c2f7c7573335241c04c64797eb3eb1bf1 (diff)
downloadgitlab-ce-f051ba693810116731f319cb7de6b4f8be20d789.tar.gz
Correct wrong required condition in doc/api/projects.md
Originally submitted at https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6054. Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/projects.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 0936ff52dae..86acb96357d 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -710,7 +710,7 @@ PUT /projects/:id
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) |
-| `name` | string | yes | The name of the project |
+| `name` | string | no | The name of the project |
| `path` | string | no | Custom repository name for the project. By default generated based on name |
| `default_branch` | string | no | `master` by default |
| `description` | string | no | Short project description |