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
path: root/lib
diff options
context:
space:
mode:
authorHiroyuki Sato <sathiroyuki@gmail.com>2019-02-05 11:32:27 +0300
committerHiroyuki Sato <sathiroyuki@gmail.com>2019-02-05 11:32:27 +0300
commit40198f81843b315f2eb1c1a1a65292b6fc61f9d7 (patch)
treee7775a077db07cafab1424562c3badc92e60fd7d /lib
parentd32aec06fe2d6ee0b2b0c0d1ca8cfd9bab14e4e7 (diff)
Fix grammar and spelling
Diffstat (limited to 'lib')
-rw-r--r--lib/api/issues.rb4
-rw-r--r--lib/api/merge_requests.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/api/issues.rb b/lib/api/issues.rb
index a797f01e89f..6e7984e77cc 100644
--- a/lib/api/issues.rb
+++ b/lib/api/issues.rb
@@ -43,8 +43,8 @@ module API
desc: 'Return issues sorted in `asc` or `desc` order.'
optional :milestone, type: String, desc: 'Return issues for a specific milestone'
optional :iids, type: Array[Integer], desc: 'The IID array of issues'
- optional :search, type: String, desc: 'Search issues for text present in the title, description or any combination of these'
- optional :in, type: String, desc: '`title`, `description` or a string joined them with comma'
+ optional :search, type: String, desc: 'Search issues for text present in the title, description, or any combination of these'
+ optional :in, type: String, desc: '`title`, `description`, or a string joining them with comma'
optional :created_after, type: DateTime, desc: 'Return issues created after the specified time'
optional :created_before, type: DateTime, desc: 'Return issues created before the specified time'
optional :updated_after, type: DateTime, desc: 'Return issues updated after the specified time'
diff --git a/lib/api/merge_requests.rb b/lib/api/merge_requests.rb
index 991b7310cfd..163720a54c5 100644
--- a/lib/api/merge_requests.rb
+++ b/lib/api/merge_requests.rb
@@ -109,8 +109,8 @@ module API
optional :my_reaction_emoji, type: String, desc: 'Return issues reacted by the authenticated user by the given emoji'
optional :source_branch, type: String, desc: 'Return merge requests with the given source branch'
optional :target_branch, type: String, desc: 'Return merge requests with the given target branch'
- optional :search, type: String, desc: 'Search merge requests for text present in the title, description or any combination of these'
- optional :in, type: String, desc: '`title`, `description` or a string joined them with comma'
+ optional :search, type: String, desc: 'Search merge requests for text present in the title, description, or any combination of these'
+ optional :in, type: String, desc: '`title`, `description`, or a string joining them with comma'
optional :wip, type: String, values: %w[yes no], desc: 'Search merge requests for WIP in the title'
use :pagination
end