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

application_with_secret.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1d0acee86244f85a95c15297d7f9118f154f6ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module API
  module Entities
    # Use with care, this exposes the secret
    class ApplicationWithSecret < Entities::Application
      expose :secret, documentation: { type: 'string',
                                       example: 'ee1dd64b6adc89cf7e2c23099301ccc2c61b441064e9324d963c46902a85ec34' }
    end
  end
end