debian-mirror-gitlab/lib/api/entities/templates_list.rb
2023-01-13 15:02:22 +05:30

10 lines
265 B
Ruby

# frozen_string_literal: true
module API
module Entities
class TemplatesList < Grape::Entity
expose :key, documentation: { type: 'string', example: 'mit' }
expose :name, documentation: { type: 'string', example: 'MIT License' }
end
end
end