Files
gitlab-foss/lib/api/helpers/unidiff.rb
2023-09-22 00:11:47 +00:00

18 lines
356 B
Ruby

# frozen_string_literal: true
module API
module Helpers
module Unidiff
extend ActiveSupport::Concern
included do
helpers do
params :with_unidiff do
optional :unidiff, type: ::Grape::API::Boolean, default: false, desc: 'A diff in a Unified diff format'
end
end
end
end
end
end