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

11 lines
342 B
Ruby

# 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