Sha256: 0693e5ec101d55ad0bea3291b84ad65a5c91bdbadac730e77dc9f9735f0d0ad7

Contents?: true

Size: 365 Bytes

Versions: 9

Compression:

Stored size: 365 Bytes

Contents

# Create a new API returns "API created successfully" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
  config.unstable_operations["v2.create_open_api".to_sym] = true
end
api_instance = DatadogAPIClient::V2::APIManagementAPI.new
opts = {
  openapi_spec_file: File.open("openapi-spec.yaml", "r"),
}
p api_instance.create_open_api(opts)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v2/api-management/CreateOpenAPI.rb
datadog_api_client-2.27.1 examples/v2/api-management/CreateOpenAPI.rb
datadog_api_client-2.26.1 examples/v2/api-management/CreateOpenAPI.rb
datadog_api_client-2.26.0 examples/v2/api-management/CreateOpenAPI.rb
datadog_api_client-2.25.0 examples/v2/api-management/CreateOpenAPI.rb
datadog_api_client-2.24.0 examples/v2/api-management/CreateOpenAPI.rb
datadog_api_client-2.22.0 examples/v2/api-management/CreateOpenAPI.rb
datadog_api_client-2.21.0 examples/v2/api-management/CreateOpenAPI.rb
datadog_api_client-2.20.0 examples/v2/api-management/CreateOpenAPI.rb