Commit 79afb001ad1b6233514fb2eb683fd7202e6d324e

Authored by Dmitriy Zaporozhets
1 parent c9e31875

Fix type in API doc

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
doc/api/repositories.md
... ... @@ -380,7 +380,7 @@ POST /projects/:id/repository/files
380 380 Parameters:
381 381  
382 382 + `file_name` (required) - The name of new file. Ex. class.rb
383   -+ `file_path` (optiona) - The path to new file. Ex. lib/
  383 ++ `file_path` (optional) - The path to new file. Ex. lib/
384 384 + `branch_name` (required) - The name of branch
385 385 + `content` (required) - File content
386 386 + `commit_message` (required) - Commit message
... ...
lib/api/files.rb
... ... @@ -9,7 +9,7 @@ module API
9 9 #
10 10 # Parameters:
11 11 # file_name (required) - The name of new file. Ex. class.rb
12   - # file_path (optiona) - The path to new file. Ex. lib/
  12 + # file_path (optional) - The path to new file. Ex. lib/
13 13 # branch_name (required) - The name of branch
14 14 # content (required) - File content
15 15 # commit_message (required) - Commit message
... ...