summaryrefslogtreecommitdiff
path: root/lib/api/topics.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-15 00:08:29 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-15 00:08:29 +0000
commit38b948a54e00841b51c446beb0adf079af60c963 (patch)
tree2e9dfe54e2d0ec444223f773dc283b1c639baae9 /lib/api/topics.rb
parent7f35b02e86cd3d2e8b4a81c5c3a8483ff6973c5a (diff)
downloadgitlab-ce-38b948a54e00841b51c446beb0adf079af60c963.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/topics.rb')
-rw-r--r--lib/api/topics.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/api/topics.rb b/lib/api/topics.rb
index ff28ccde788..b16b40244d4 100644
--- a/lib/api/topics.rb
+++ b/lib/api/topics.rb
@@ -11,7 +11,9 @@ module API
success Entities::Projects::Topic
end
params do
- optional :search, type: String, desc: 'Return list of topics matching the search criteria'
+ optional :search, type: String,
+ desc: 'Return list of topics matching the search criteria',
+ documentation: { example: 'search' }
optional :without_projects, type: Boolean, desc: 'Return list of topics without assigned projects'
use :pagination
end