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:
Diffstat (limited to 'lib/api/entities/templates_list.rb')
-rw-r--r--lib/api/entities/templates_list.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/entities/templates_list.rb b/lib/api/entities/templates_list.rb
index 8e8aa1bd285..eba80bd04d3 100644
--- a/lib/api/entities/templates_list.rb
+++ b/lib/api/entities/templates_list.rb
@@ -3,8 +3,8 @@
module API
module Entities
class TemplatesList < Grape::Entity
- expose :key
- expose :name
+ expose :key, documentation: { type: 'string', example: 'mit' }
+ expose :name, documentation: { type: 'string', example: 'MIT License' }
end
end
end