summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAthar Hameed <atharh@gmail.com>2017-06-02 14:27:30 +0800
committerAthar Hameed <atharh@gmail.com>2017-06-02 20:58:48 +0800
commit578adc9bc603e743d85cc65ed0d8aa3201ccc619 (patch)
tree88b95aa1cac69ec4ad59ac292c1fd645b7068757 /lib
parent5cb8ad6c57bc8588add7ae47a82842a707ab2298 (diff)
downloadgitlab-ce-578adc9bc603e743d85cc65ed0d8aa3201ccc619.tar.gz
Fix missing optional path parameter in "Create project for user" API33242-create-project-for-user-api-ignores-path-parameter
Diffstat (limited to 'lib')
-rw-r--r--lib/api/projects.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index d00d4fe1737..17008aa6d0f 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -129,6 +129,7 @@ module API
params do
requires :name, type: String, desc: 'The name of the project'
requires :user_id, type: Integer, desc: 'The ID of a user'
+ optional :path, type: String, desc: 'The path of the repository'
optional :default_branch, type: String, desc: 'The default branch of the project'
use :optional_params
use :create_params