Skip to content

Commit ff0ab71

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f57f6771 of spec repo
1 parent d199aff commit ff0ab71

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-18 22:25:27.762363",
8-
"spec_repo_commit": "98988fd6"
7+
"regenerated": "2025-02-19 14:28:24.860340",
8+
"spec_repo_commit": "f57f6771"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-18 22:25:27.777769",
13-
"spec_repo_commit": "98988fd6"
12+
"regenerated": "2025-02-19 14:28:24.875366",
13+
"spec_repo_commit": "f57f6771"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32796,6 +32796,7 @@ paths:
3279632796
- api_keys_write
3279732797
/api/v2/apicatalog/api:
3279832798
get:
32799+
deprecated: true
3279932800
description: List APIs and their IDs.
3280032801
operationId: ListAPIs
3280132802
parameters:
@@ -32857,11 +32858,10 @@ paths:
3285732858
operator: OR
3285832859
permissions:
3285932860
- apm_api_catalog_read
32860-
x-unstable: '**Note**: This endpoint is in public beta.
32861-
32862-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
32861+
x-unstable: '**Note**: This endpoint is deprecated.'
3286332862
/api/v2/apicatalog/api/{id}:
3286432863
delete:
32864+
deprecated: true
3286532865
description: Delete a specific API by ID.
3286632866
operationId: DeleteOpenAPI
3286732867
parameters:
@@ -32906,11 +32906,10 @@ paths:
3290632906
operator: OR
3290732907
permissions:
3290832908
- apm_api_catalog_write
32909-
x-unstable: '**Note**: This endpoint is in public beta.
32910-
32911-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
32909+
x-unstable: '**Note**: This endpoint is deprecated.'
3291232910
/api/v2/apicatalog/api/{id}/openapi:
3291332911
get:
32912+
deprecated: true
3291432913
description: Retrieve information about a specific API in [OpenAPI](https://spec.openapis.org/oas/latest.html)
3291532914
format file.
3291632915
operationId: GetOpenAPI
@@ -32961,10 +32960,9 @@ paths:
3296132960
operator: OR
3296232961
permissions:
3296332962
- apm_api_catalog_read
32964-
x-unstable: '**Note**: This endpoint is in public beta.
32965-
32966-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
32963+
x-unstable: '**Note**: This endpoint is deprecated.'
3296732964
put:
32965+
deprecated: true
3296832966
description: 'Update information about a specific API. The given content will
3296932967
replace all API content of the given ID.
3297032968

@@ -33025,11 +33023,10 @@ paths:
3302533023
operator: OR
3302633024
permissions:
3302733025
- apm_api_catalog_write
33028-
x-unstable: '**Note**: This endpoint is in public beta.
33029-
33030-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
33026+
x-unstable: '**Note**: This endpoint is deprecated.'
3303133027
/api/v2/apicatalog/openapi:
3303233028
post:
33029+
deprecated: true
3303333030
description: 'Create a new API from the [OpenAPI](https://spec.openapis.org/oas/latest.html)
3303433031
specification given.
3303533032

@@ -33081,9 +33078,7 @@ paths:
3308133078
operator: OR
3308233079
permissions:
3308333080
- apm_api_catalog_write
33084-
x-unstable: '**Note**: This endpoint is in public beta.
33085-
33086-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
33081+
x-unstable: '**Note**: This endpoint is deprecated.'
3308733082
/api/v2/apm/config/metrics:
3308833083
get:
3308933084
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)