Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
708 changes: 177 additions & 531 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# List Cloud Cost Management tag metadata months returns "OK" response

require "datadog_api_client"
DatadogAPIClient.configure do |config|
config.unstable_operations["v2.list_cost_tag_metadata_months".to_sym] = true
end
api_instance = DatadogAPIClient::V2::CloudCostManagementAPI.new
p api_instance.list_cost_tag_metadata_months("filter[provider]")
8 changes: 0 additions & 8 deletions examples/v2/oauth2-client-public/DeleteScopesRestriction.rb

This file was deleted.

8 changes: 0 additions & 8 deletions examples/v2/oauth2-client-public/GetScopesRestriction.rb

This file was deleted.

29 changes: 0 additions & 29 deletions examples/v2/oauth2-client-public/RegisterOAuthClient.rb

This file was deleted.

24 changes: 0 additions & 24 deletions examples/v2/oauth2-client-public/UpsertScopesRestriction.rb

This file was deleted.

16 changes: 3 additions & 13 deletions features/scenarios_model_mapping.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2643,6 +2643,9 @@
"filter_month" => "String",
"filter_provider" => "String",
},
"v2.ListCostTagMetadataMonths" => {
"filter_provider" => "String",
},
"v2.ListCostTagMetadataOrchestrators" => {
"filter_month" => "String",
"filter_provider" => "String",
Expand Down Expand Up @@ -3875,19 +3878,6 @@
"tags" => "String",
"limit" => "Integer",
},
"v2.DeleteScopesRestriction" => {
"client_uuid" => "UUID",
},
"v2.GetScopesRestriction" => {
"client_uuid" => "UUID",
},
"v2.UpsertScopesRestriction" => {
"client_uuid" => "UUID",
"body" => "UpsertOAuthScopesRestrictionRequest",
},
"v2.RegisterOAuthClient" => {
"body" => "OAuthClientRegistrationRequest",
},
"v2.ListPipelines" => {
"page_size" => "Integer",
"page_number" => "Integer",
Expand Down
16 changes: 16 additions & 0 deletions features/v2/cloud_cost_management.feature
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,22 @@ Feature: Cloud Cost Management
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/cloud-cost-management
Scenario: List Cloud Cost Management tag metadata months returns "Bad Request" response
Given operation "ListCostTagMetadataMonths" enabled
And new "ListCostTagMetadataMonths" request
And request contains "filter[provider]" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/cloud-cost-management
Scenario: List Cloud Cost Management tag metadata months returns "OK" response
Given operation "ListCostTagMetadataMonths" enabled
And new "ListCostTagMetadataMonths" request
And request contains "filter[provider]" parameter from "REPLACE.ME"
When the request is sent
Then the response status is 200 OK

@generated @skip @team:DataDog/cloud-cost-management
Scenario: List Cloud Cost Management tag sources returns "Bad Request" response
Given operation "ListCostTagKeySources" enabled
Expand Down
100 changes: 0 additions & 100 deletions features/v2/oauth2_client_public.feature

This file was deleted.

30 changes: 6 additions & 24 deletions features/v2/undo.json
Original file line number Diff line number Diff line change
Expand Up @@ -1898,6 +1898,12 @@
"type": "safe"
}
},
"ListCostTagMetadataMonths": {
"tag": "Cloud Cost Management",
"undo": {
"type": "safe"
}
},
"ListCostTagMetadataOrchestrators": {
"tag": "Cloud Cost Management",
"undo": {
Expand Down Expand Up @@ -4666,30 +4672,6 @@
"type": "safe"
}
},
"DeleteScopesRestriction": {
"tag": "OAuth2 Client Public",
"undo": {
"type": "idempotent"
}
},
"GetScopesRestriction": {
"tag": "OAuth2 Client Public",
"undo": {
"type": "safe"
}
},
"UpsertScopesRestriction": {
"tag": "OAuth2 Client Public",
"undo": {
"type": "idempotent"
}
},
"RegisterOAuthClient": {
"tag": "OAuth2 Client Public",
"undo": {
"type": "idempotent"
}
},
"ListPipelines": {
"tag": "Observability Pipelines",
"undo": {
Expand Down
5 changes: 1 addition & 4 deletions lib/datadog_api_client/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ def initialize
"v2.list_cost_tag_key_sources": false,
"v2.list_cost_tag_metadata": false,
"v2.list_cost_tag_metadata_metrics": false,
"v2.list_cost_tag_metadata_months": false,
"v2.list_cost_tag_metadata_orchestrators": false,
"v2.search_cost_recommendations": false,
"v2.create_dashboard_secure_embed": false,
Expand Down Expand Up @@ -520,10 +521,6 @@ def initialize
"v2.update_monitor_user_template": false,
"v2.validate_existing_monitor_user_template": false,
"v2.validate_monitor_user_template": false,
"v2.delete_scopes_restriction": false,
"v2.get_scopes_restriction": false,
"v2.register_o_auth_client": false,
"v2.upsert_scopes_restriction": false,
"v2.bulk_update_org_group_memberships": false,
"v2.create_org_group": false,
"v2.create_org_group_policy": false,
Expand Down
22 changes: 6 additions & 16 deletions lib/datadog_api_client/inflector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2234,6 +2234,9 @@ def overrides
"v2.cost_tag_keys_response" => "CostTagKeysResponse",
"v2.cost_tag_key_type" => "CostTagKeyType",
"v2.cost_tag_metadata_daily_filter" => "CostTagMetadataDailyFilter",
"v2.cost_tag_metadata_month" => "CostTagMetadataMonth",
"v2.cost_tag_metadata_months_response" => "CostTagMetadataMonthsResponse",
"v2.cost_tag_metadata_month_type" => "CostTagMetadataMonthType",
"v2.cost_tags_response" => "CostTagsResponse",
"v2.cost_tag_type" => "CostTagType",
"v2.coverage_summary_attributes" => "CoverageSummaryAttributes",
Expand Down Expand Up @@ -4439,17 +4442,6 @@ def overrides
"v2.nullable_relationship_to_user_data" => "NullableRelationshipToUserData",
"v2.nullable_user_relationship" => "NullableUserRelationship",
"v2.nullable_user_relationship_data" => "NullableUserRelationshipData",
"v2.o_auth_client_registration_error" => "OAuthClientRegistrationError",
"v2.o_auth_client_registration_grant_type" => "OAuthClientRegistrationGrantType",
"v2.o_auth_client_registration_request" => "OAuthClientRegistrationRequest",
"v2.o_auth_client_registration_response" => "OAuthClientRegistrationResponse",
"v2.o_auth_client_registration_response_type" => "OAuthClientRegistrationResponseType",
"v2.o_auth_oidc_scope" => "OAuthOidcScope",
"v2.o_auth_scopes_restriction" => "OAuthScopesRestriction",
"v2.o_auth_scopes_restriction_response" => "OAuthScopesRestrictionResponse",
"v2.o_auth_scopes_restriction_response_attributes" => "OAuthScopesRestrictionResponseAttributes",
"v2.o_auth_scopes_restriction_response_data" => "OAuthScopesRestrictionResponseData",
"v2.o_auth_scopes_restriction_type" => "OAuthScopesRestrictionType",
"v2.observability_pipeline" => "ObservabilityPipeline",
"v2.observability_pipeline_add_env_vars_processor" => "ObservabilityPipelineAddEnvVarsProcessor",
"v2.observability_pipeline_add_env_vars_processor_type" => "ObservabilityPipelineAddEnvVarsProcessorType",
Expand Down Expand Up @@ -4740,6 +4732,9 @@ def overrides
"v2.observability_pipeline_splunk_hec_destination_encoding" => "ObservabilityPipelineSplunkHecDestinationEncoding",
"v2.observability_pipeline_splunk_hec_destination_token_strategy" => "ObservabilityPipelineSplunkHecDestinationTokenStrategy",
"v2.observability_pipeline_splunk_hec_destination_type" => "ObservabilityPipelineSplunkHecDestinationType",
"v2.observability_pipeline_splunk_hec_metrics_destination" => "ObservabilityPipelineSplunkHecMetricsDestination",
"v2.observability_pipeline_splunk_hec_metrics_destination_compression" => "ObservabilityPipelineSplunkHecMetricsDestinationCompression",
"v2.observability_pipeline_splunk_hec_metrics_destination_type" => "ObservabilityPipelineSplunkHecMetricsDestinationType",
"v2.observability_pipeline_splunk_hec_source" => "ObservabilityPipelineSplunkHecSource",
"v2.observability_pipeline_splunk_hec_source_type" => "ObservabilityPipelineSplunkHecSourceType",
"v2.observability_pipeline_splunk_hec_source_valid_token" => "ObservabilityPipelineSplunkHecSourceValidToken",
Expand Down Expand Up @@ -6837,10 +6832,6 @@ def overrides
"v2.upsert_cloud_inventory_sync_config_request" => "UpsertCloudInventorySyncConfigRequest",
"v2.upsert_cloud_inventory_sync_config_request_attributes" => "UpsertCloudInventorySyncConfigRequestAttributes",
"v2.upsert_cloud_inventory_sync_config_request_data" => "UpsertCloudInventorySyncConfigRequestData",
"v2.upsert_o_auth_scopes_restriction_data" => "UpsertOAuthScopesRestrictionData",
"v2.upsert_o_auth_scopes_restriction_data_attributes" => "UpsertOAuthScopesRestrictionDataAttributes",
"v2.upsert_o_auth_scopes_restriction_request" => "UpsertOAuthScopesRestrictionRequest",
"v2.upsert_o_auth_scopes_restriction_type" => "UpsertOAuthScopesRestrictionType",
"v2.urgency" => "Urgency",
"v2.url_param" => "UrlParam",
"v2.url_param_update" => "UrlParamUpdate",
Expand Down Expand Up @@ -7107,7 +7098,6 @@ def overrides
"v2.model_lab_api_api" => "ModelLabAPIAPI",
"v2.monitors_api" => "MonitorsAPI",
"v2.network_device_monitoring_api" => "NetworkDeviceMonitoringAPI",
"v2.o_auth2_client_public_api" => "OAuth2ClientPublicAPI",
"v2.observability_pipelines_api" => "ObservabilityPipelinesAPI",
"v2.oci_integration_api" => "OCIIntegrationAPI",
"v2.okta_integration_api" => "OktaIntegrationAPI",
Expand Down
Loading
Loading