# frozen_string_literal: true

module Types
  module CiConfiguration
    module ApiFuzzing
      # rubocop: disable Graphql/AuthorizeTypes
      class ScanProfileType < BaseObject
        graphql_name 'ApiFuzzingScanProfile'
        description 'An API Fuzzing scan profile.'

        field :name, GraphQL::STRING_TYPE, null: true,
              description: 'The unique name of the profile.'

        field :description, GraphQL::STRING_TYPE, null: true,
              description: 'A short description of the profile.'

        field :yaml, GraphQL::STRING_TYPE, null: true,
              description: 'A syntax highlit HTML representation of the YAML.'
      end
      # rubocop: enable Graphql/AuthorizeTypes
    end
  end
end
