summaryrefslogtreecommitdiff
path: root/lib/api/entities/templates_list.rb
blob: eba80bd04d3f3ca2ddc2c983aa1bce5f167be675 (plain)
1
2
3
4
5
6
7
8
9
10
# 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