Sha256: 4325f4c1bb1470bf2fd751499bc66074937f742e382b7dfcbf8b5b772d2144f5

Contents?: true

Size: 1.42 KB

Versions: 8

Compression:

Stored size: 1.42 KB

Contents

=begin
#Datadog API V1 Collection

#Collection of all Datadog Public endpoints.

The version of the OpenAPI document: 1.0
Contact: support@datadoghq.com
Generated by: https://openapi-generator.tech

 Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
 This product includes software developed at Datadog (https://www.datadoghq.com/).
 Copyright 2020-Present Datadog, Inc.

=end

require 'spec_helper'
require 'json'

# Unit tests for DatadogAPIClient::V1::AuthenticationAPI
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'AuthenticationAPI' do
  before do
    # run before each test
    @api_instance = DatadogAPIClient::V1::AuthenticationAPI.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of AuthenticationAPI' do
    it 'should create an instance of AuthenticationAPI' do
      expect(@api_instance).to be_instance_of(DatadogAPIClient::V1::AuthenticationAPI)
    end
  end

  # unit tests for validate
  # Validate API key
  # Check if the API key (not the APP key) is valid. If invalid, a 403 is returned.
  # @param [Hash] opts the optional parameters
  # @return [AuthenticationValidationResponse]
  describe 'validate test' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
datadog_api_client-1.6.0 spec/v1/api/authentication_api_spec.rb
datadog_api_client-1.5.0 spec/v1/api/authentication_api_spec.rb
datadog_api_client-1.4.0 spec/v1/api/authentication_api_spec.rb
datadog_api_client-1.3.0 spec/v1/api/authentication_api_spec.rb
datadog_api_client-1.2.0 spec/v1/api/authentication_api_spec.rb
datadog_api_client-1.1.0 spec/v1/api/authentication_api_spec.rb
datadog_api_client-1.0.0 spec/v1/api/authentication_api_spec.rb
datadog_api_client-1.0.0.beta.3 spec/v1/api/authentication_api_spec.rb