Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2017-06-13 10:31:13 +0300
committerblackst0ne <blackst0ne.ru@gmail.com>2017-06-13 10:31:13 +0300
commita4aa448c2d77c514931c36d2252a426fec53923d (patch)
tree51999698c7079eb420cffaa760d0cb907dae9f1f
parentde20057ccbd3b8c94d64ff5d8deb14cab232d08a (diff)
Documentation bugfix of invalid JSON payload example of Create a commit with multiple files and actions
-rw-r--r--changelogs/unreleased/fix_docs_commits_multiple_files.yml5
-rw-r--r--doc/api/commits.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/changelogs/unreleased/fix_docs_commits_multiple_files.yml b/changelogs/unreleased/fix_docs_commits_multiple_files.yml
new file mode 100644
index 00000000000..36567354b28
--- /dev/null
+++ b/changelogs/unreleased/fix_docs_commits_multiple_files.yml
@@ -0,0 +1,5 @@
+---
+title: Documentation bugfix of invalid JSON payload example of Create a commit with
+ multiple files and actions
+merge_request: 12117
+author: @blackst0ne
diff --git a/doc/api/commits.md b/doc/api/commits.md
index 9cb58dd3ae9..c91f9ecbdaf 100644
--- a/doc/api/commits.md
+++ b/doc/api/commits.md
@@ -97,7 +97,7 @@ PAYLOAD=$(cat << 'JSON'
},
{
"action": "delete",
- "file_path": "foo/bar2",
+ "file_path": "foo/bar2"
},
{
"action": "move",