summaryrefslogtreecommitdiff
path: root/lib/api/entities/markdown.rb
blob: 0fbaec4375e3b919e2a180b76fcade60b70a8969 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

module API
  module Entities
    class Markdown < Grape::Entity
      expose :html, documentation: { type: 'string', example: '<p dir=\"auto\">Hello world!</p>"' }
    end
  end
end