diff options
Diffstat (limited to 'lib/api/entities/markdown.rb')
-rw-r--r-- | lib/api/entities/markdown.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/api/entities/markdown.rb b/lib/api/entities/markdown.rb new file mode 100644 index 00000000000..0fbaec4375e --- /dev/null +++ b/lib/api/entities/markdown.rb @@ -0,0 +1,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 |