Skip to content

Commit f5b7720

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 095f4cc4 of spec repo
1 parent 81f8c0e commit f5b7720

File tree

3 files changed

+29
-19
lines changed

3 files changed

+29
-19
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-02-14 15:03:43.770632",
8-
"spec_repo_commit": "a739b49f"
7+
"regenerated": "2025-02-14 16:54:57.765098",
8+
"spec_repo_commit": "095f4cc4"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-14 15:03:43.786179",
13-
"spec_repo_commit": "a739b49f"
12+
"regenerated": "2025-02-14 16:54:57.780136",
13+
"spec_repo_commit": "095f4cc4"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32761,6 +32761,7 @@ paths:
3276132761
- api_keys_write
3276232762
/api/v2/apicatalog/api:
3276332763
get:
32764+
deprecated: true
3276432765
description: List APIs and their IDs.
3276532766
operationId: ListAPIs
3276632767
parameters:
@@ -32822,11 +32823,10 @@ paths:
3282232823
operator: OR
3282332824
permissions:
3282432825
- apm_api_catalog_read
32825-
x-unstable: '**Note**: This endpoint is in public beta.
32826-
32827-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
32826+
x-unstable: '**Note**: This endpoint is deprecated.'
3282832827
/api/v2/apicatalog/api/{id}:
3282932828
delete:
32829+
deprecated: true
3283032830
description: Delete a specific API by ID.
3283132831
operationId: DeleteOpenAPI
3283232832
parameters:
@@ -32871,11 +32871,10 @@ paths:
3287132871
operator: OR
3287232872
permissions:
3287332873
- apm_api_catalog_write
32874-
x-unstable: '**Note**: This endpoint is in public beta.
32875-
32876-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
32874+
x-unstable: '**Note**: This endpoint is deprecated.'
3287732875
/api/v2/apicatalog/api/{id}/openapi:
3287832876
get:
32877+
deprecated: true
3287932878
description: Retrieve information about a specific API in [OpenAPI](https://spec.openapis.org/oas/latest.html)
3288032879
format file.
3288132880
operationId: GetOpenAPI
@@ -32926,10 +32925,9 @@ paths:
3292632925
operator: OR
3292732926
permissions:
3292832927
- apm_api_catalog_read
32929-
x-unstable: '**Note**: This endpoint is in public beta.
32930-
32931-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
32928+
x-unstable: '**Note**: This endpoint is deprecated.'
3293232929
put:
32930+
deprecated: true
3293332931
description: 'Update information about a specific API. The given content will
3293432932
replace all API content of the given ID.
3293532933

@@ -32990,11 +32988,10 @@ paths:
3299032988
operator: OR
3299132989
permissions:
3299232990
- apm_api_catalog_write
32993-
x-unstable: '**Note**: This endpoint is in public beta.
32994-
32995-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
32991+
x-unstable: '**Note**: This endpoint is deprecated.'
3299632992
/api/v2/apicatalog/openapi:
3299732993
post:
32994+
deprecated: true
3299832995
description: 'Create a new API from the [OpenAPI](https://spec.openapis.org/oas/latest.html)
3299932996
specification given.
3300032997

@@ -33046,9 +33043,7 @@ paths:
3304633043
operator: OR
3304733044
permissions:
3304833045
- apm_api_catalog_write
33049-
x-unstable: '**Note**: This endpoint is in public beta.
33050-
33051-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
33046+
x-unstable: '**Note**: This endpoint is deprecated.'
3305233047
/api/v2/apm/config/metrics:
3305333048
get:
3305433049
description: Get the list of configured span-based metrics with their definitions.

lib/datadog_api_client/v2/api/api_management_api.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,13 @@ def create_open_api(opts = {})
3939
# It returns the created API ID.
4040
#
4141
#
42+
# @deprecated This API is deprecated.
43+
#
4244
# @param opts [Hash] the optional parameters
4345
# @option opts [File] :openapi_spec_file Binary `OpenAPI` spec file
4446
# @return [Array<(CreateOpenAPIResponse, Integer, Hash)>] CreateOpenAPIResponse data, response status code and response headers
4547
def create_open_api_with_http_info(opts = {})
48+
warn "[DEPRECATION] `CreateOpenAPI` is deprecated."
4649
unstable_enabled = @api_client.config.unstable_operations["v2.create_open_api".to_sym]
4750
if unstable_enabled
4851
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.create_open_api")
@@ -109,10 +112,13 @@ def delete_open_api(id, opts = {})
109112
#
110113
# Delete a specific API by ID.
111114
#
115+
# @deprecated This API is deprecated.
116+
#
112117
# @param id [UUID] ID of the API to delete
113118
# @param opts [Hash] the optional parameters
114119
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
115120
def delete_open_api_with_http_info(id, opts = {})
121+
warn "[DEPRECATION] `DeleteOpenAPI` is deprecated."
116122
unstable_enabled = @api_client.config.unstable_operations["v2.delete_open_api".to_sym]
117123
if unstable_enabled
118124
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.delete_open_api")
@@ -180,10 +186,13 @@ def get_open_api(id, opts = {})
180186
#
181187
# Retrieve information about a specific API in [OpenAPI](https://spec.openapis.org/oas/latest.html) format file.
182188
#
189+
# @deprecated This API is deprecated.
190+
#
183191
# @param id [UUID] ID of the API to retrieve
184192
# @param opts [Hash] the optional parameters
185193
# @return [Array<(File, Integer, Hash)>] File data, response status code and response headers
186194
def get_open_api_with_http_info(id, opts = {})
195+
warn "[DEPRECATION] `GetOpenAPI` is deprecated."
187196
unstable_enabled = @api_client.config.unstable_operations["v2.get_open_api".to_sym]
188197
if unstable_enabled
189198
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.get_open_api")
@@ -251,12 +260,15 @@ def list_apis(opts = {})
251260
#
252261
# List APIs and their IDs.
253262
#
263+
# @deprecated This API is deprecated.
264+
#
254265
# @param opts [Hash] the optional parameters
255266
# @option opts [String] :query Filter APIs by name
256267
# @option opts [Integer] :page_limit Number of items per page.
257268
# @option opts [Integer] :page_offset Offset for pagination.
258269
# @return [Array<(ListAPIsResponse, Integer, Hash)>] ListAPIsResponse data, response status code and response headers
259270
def list_apis_with_http_info(opts = {})
271+
warn "[DEPRECATION] `ListAPIs` is deprecated."
260272
unstable_enabled = @api_client.config.unstable_operations["v2.list_apis".to_sym]
261273
if unstable_enabled
262274
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.list_apis")
@@ -331,11 +343,14 @@ def update_open_api(id, opts = {})
331343
# The ID is returned by the create API, or can be found in the URL in the API catalog UI.
332344
#
333345
#
346+
# @deprecated This API is deprecated.
347+
#
334348
# @param id [UUID] ID of the API to modify
335349
# @param opts [Hash] the optional parameters
336350
# @option opts [File] :openapi_spec_file Binary `OpenAPI` spec file
337351
# @return [Array<(UpdateOpenAPIResponse, Integer, Hash)>] UpdateOpenAPIResponse data, response status code and response headers
338352
def update_open_api_with_http_info(id, opts = {})
353+
warn "[DEPRECATION] `UpdateOpenAPI` is deprecated."
339354
unstable_enabled = @api_client.config.unstable_operations["v2.update_open_api".to_sym]
340355
if unstable_enabled
341356
@api_client.config.logger.warn format("Using unstable operation '%s'", "v2.update_open_api")

0 commit comments

Comments
 (0)