Commit 9811e64d71d050554c952221c4fdaf48ce1f06a6
1 parent
acac1547
Exists in
master
and in
4 other branches
Typo and mistakes fixed
Showing
2 changed files
with
4 additions
and
4 deletions
Show diff stats
doc/api/projects.md
| ... | ... | @@ -100,8 +100,8 @@ POST /projects |
| 100 | 100 | Parameters: |
| 101 | 101 | |
| 102 | 102 | + `name` (required) - new project name |
| 103 | -+ `code` (optional) - new project code, used project name if not set | |
| 104 | -+ `path` (optional) - new project path, user project name if not set | |
| 103 | ++ `code` (optional) - new project code, uses project name if not set | |
| 104 | ++ `path` (optional) - new project path, uses project name if not set | |
| 105 | 105 | |
| 106 | 106 | Will return created project with status `201 Created` on success, or `404 Not |
| 107 | 107 | found` on fail. | ... | ... |
lib/api/projects.rb
| ... | ... | @@ -27,8 +27,8 @@ module Gitlab |
| 27 | 27 | # |
| 28 | 28 | # Parameters: |
| 29 | 29 | # name (required) - name for new project |
| 30 | - # code (optional) - code for new project, if not set used name | |
| 31 | - # path (optional) - oath for new project, if not set used name | |
| 30 | + # code (optional) - code for new project, uses project name if not set | |
| 31 | + # path (optional) - path for new project, uses project name if not set | |
| 32 | 32 | # Example Request |
| 33 | 33 | # POST /projects |
| 34 | 34 | post do | ... | ... |