debian-mirror-gitlab/app/graphql/types/ci_configuration/sast/entity_input_type.rb
2021-04-17 20:07:23 +05:30

22 lines
653 B
Ruby

# frozen_string_literal: true
module Types
module CiConfiguration
module Sast
class EntityInputType < BaseInputObject
graphql_name 'SastCiConfigurationEntityInput'
description 'Represents an entity in SAST CI configuration'
argument :field, GraphQL::STRING_TYPE, required: true,
description: 'CI keyword of entity.'
argument :default_value, GraphQL::STRING_TYPE, required: true,
description: 'Default value that is used if value is empty.'
argument :value, GraphQL::STRING_TYPE, required: true,
description: 'Current value of the entity.'
end
end
end
end