diff options
author | Athar Hameed <atharh@gmail.com> | 2017-06-02 09:27:30 +0300 |
---|---|---|
committer | Athar Hameed <atharh@gmail.com> | 2017-06-02 15:58:48 +0300 |
commit | 578adc9bc603e743d85cc65ed0d8aa3201ccc619 (patch) | |
tree | 88b95aa1cac69ec4ad59ac292c1fd645b7068757 /lib | |
parent | 5cb8ad6c57bc8588add7ae47a82842a707ab2298 (diff) |
Fix missing optional path parameter in "Create project for user" API
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/projects.rb | 1 |
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 |