summaryrefslogtreecommitdiff
path: root/lib/api/topics.rb
diff options
context:
space:
mode:
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