summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci_configuration/sast/options_entity_type.rb
blob: 5f365807cfeb442c84aca6ce78d0e72befab5eb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module Types
  module CiConfiguration
    module Sast
      # rubocop: disable Graphql/AuthorizeTypes
      class OptionsEntityType < BaseObject
        graphql_name 'SastCiConfigurationOptionsEntity'
        description 'Represents an entity for options in SAST CI configuration'

        field :label, GraphQL::Types::String, null: true,
          description: 'Label of option entity.'

        field :value, GraphQL::Types::String, null: true,
          description: 'Value of option entity.'
      end
    end
  end
end