Commit 79afb001 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix type in API doc

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent c9e31875
...@@ -380,7 +380,7 @@ POST /projects/:id/repository/files ...@@ -380,7 +380,7 @@ POST /projects/:id/repository/files
Parameters: Parameters:
+ `file_name` (required) - The name of new file. Ex. class.rb + `file_name` (required) - The name of new file. Ex. class.rb
+ `file_path` (optiona) - The path to new file. Ex. lib/ + `file_path` (optional) - The path to new file. Ex. lib/
+ `branch_name` (required) - The name of branch + `branch_name` (required) - The name of branch
+ `content` (required) - File content + `content` (required) - File content
+ `commit_message` (required) - Commit message + `commit_message` (required) - Commit message
...@@ -9,7 +9,7 @@ module API ...@@ -9,7 +9,7 @@ module API
# #
# Parameters: # Parameters:
# file_name (required) - The name of new file. Ex. class.rb # file_name (required) - The name of new file. Ex. class.rb
# file_path (optiona) - The path to new file. Ex. lib/ # file_path (optional) - The path to new file. Ex. lib/
# branch_name (required) - The name of branch # branch_name (required) - The name of branch
# content (required) - File content # content (required) - File content
# commit_message (required) - Commit message # commit_message (required) - Commit message
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment