summaryrefslogtreecommitdiff
path: root/lib/api/entities/wiki_page_basic.rb
blob: 088a0d1bf5536df046cb1c58b75afcd0d3cc98bb (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module API
  module Entities
    class WikiPageBasic < Grape::Entity
      expose :format, documentation: { type: 'string', example: 'markdown' }
      expose :slug, documentation: { type: 'string', example: 'deploy' }
      expose :title, documentation: { type: 'string', example: 'deploy' }
    end
  end
end