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:
authorRobert Schilling <rschilling@student.tugraz.at>2017-02-20 17:54:37 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2017-02-20 17:54:37 +0300
commit7d31cf8601be5e8344710579796e919d84c1f586 (patch)
tree1459c1d921490745ddaf33b37604634fcf268bae /lib
parent173dbeb972d0da365ac77129d0e12727ae571e91 (diff)
Fix some grammar in the API docs
Diffstat (limited to 'lib')
-rw-r--r--lib/api/commits.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/commits.rb b/lib/api/commits.rb
index f0ed5f34419..3b314c89c6e 100644
--- a/lib/api/commits.rb
+++ b/lib/api/commits.rb
@@ -16,8 +16,8 @@ module API
end
params do
optional :ref_name, type: String, desc: 'The name of a repository branch or tag, if not given the default branch is used'
- optional :since, type: DateTime, desc: 'Only commits after or in this date will be returned'
- optional :until, type: DateTime, desc: 'Only commits before or in this date will be returned'
+ optional :since, type: DateTime, desc: 'Only commits after or on this date will be returned'
+ optional :until, type: DateTime, desc: 'Only commits before or on this date will be returned'
optional :page, type: Integer, default: 0, desc: 'The page for pagination'
optional :per_page, type: Integer, default: 20, desc: 'The number of results per page'
optional :path, type: String, desc: 'The file path'