Welcome to mirror list, hosted at ThFree Co, Russian Federation.

unidiff.rb « helpers « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aabc0acd454014056734ea29dac79f90b5b29d52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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