Skip to content

Commit ecebfc7

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f57f6771 of spec repo
1 parent 52ea77a commit ecebfc7

File tree

3 files changed

+71
-19
lines changed

3 files changed

+71
-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:26.654004",
8-
"spec_repo_commit": "98988fd6"
7+
"regenerated": "2025-02-19 14:28:22.930570",
8+
"spec_repo_commit": "f57f6771"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-18 22:25:26.671016",
13-
"spec_repo_commit": "98988fd6"
12+
"regenerated": "2025-02-19 14:28:22.946405",
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.

src/main/java/com/datadog/api/client/v2/api/ApiManagementApi.java

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ public CreateOpenAPIOptionalParameters openapiSpecFile(File openapiSpecFile) {
7171
*
7272
* @return CreateOpenAPIResponse
7373
* @throws ApiException if fails to make API call
74+
* @deprecated
7475
*/
76+
@Deprecated
7577
public CreateOpenAPIResponse createOpenAPI() throws ApiException {
7678
return createOpenAPIWithHttpInfo(new CreateOpenAPIOptionalParameters()).getData();
7779
}
@@ -82,7 +84,9 @@ public CreateOpenAPIResponse createOpenAPI() throws ApiException {
8284
* <p>See {@link #createOpenAPIWithHttpInfoAsync}.
8385
*
8486
* @return CompletableFuture&lt;CreateOpenAPIResponse&gt;
87+
* @deprecated
8588
*/
89+
@Deprecated
8690
public CompletableFuture<CreateOpenAPIResponse> createOpenAPIAsync() {
8791
return createOpenAPIWithHttpInfoAsync(new CreateOpenAPIOptionalParameters())
8892
.thenApply(
@@ -99,7 +103,9 @@ public CompletableFuture<CreateOpenAPIResponse> createOpenAPIAsync() {
99103
* @param parameters Optional parameters for the request.
100104
* @return CreateOpenAPIResponse
101105
* @throws ApiException if fails to make API call
106+
* @deprecated
102107
*/
108+
@Deprecated
103109
public CreateOpenAPIResponse createOpenAPI(CreateOpenAPIOptionalParameters parameters)
104110
throws ApiException {
105111
return createOpenAPIWithHttpInfo(parameters).getData();
@@ -112,7 +118,9 @@ public CreateOpenAPIResponse createOpenAPI(CreateOpenAPIOptionalParameters param
112118
*
113119
* @param parameters Optional parameters for the request.
114120
* @return CompletableFuture&lt;CreateOpenAPIResponse&gt;
121+
* @deprecated
115122
*/
123+
@Deprecated
116124
public CompletableFuture<CreateOpenAPIResponse> createOpenAPIAsync(
117125
CreateOpenAPIOptionalParameters parameters) {
118126
return createOpenAPIWithHttpInfoAsync(parameters)
@@ -140,7 +148,10 @@ public CompletableFuture<CreateOpenAPIResponse> createOpenAPIAsync(
140148
* <tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
141149
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
142150
* </table>
151+
*
152+
* @deprecated
143153
*/
154+
@Deprecated
144155
public ApiResponse<CreateOpenAPIResponse> createOpenAPIWithHttpInfo(
145156
CreateOpenAPIOptionalParameters parameters) throws ApiException {
146157
// Check if unstable operation is enabled
@@ -189,7 +200,9 @@ public ApiResponse<CreateOpenAPIResponse> createOpenAPIWithHttpInfo(
189200
*
190201
* @param parameters Optional parameters for the request.
191202
* @return CompletableFuture&lt;ApiResponse&lt;CreateOpenAPIResponse&gt;&gt;
203+
* @deprecated
192204
*/
205+
@Deprecated
193206
public CompletableFuture<ApiResponse<CreateOpenAPIResponse>> createOpenAPIWithHttpInfoAsync(
194207
CreateOpenAPIOptionalParameters parameters) {
195208
// Check if unstable operation is enabled
@@ -248,7 +261,9 @@ public CompletableFuture<ApiResponse<CreateOpenAPIResponse>> createOpenAPIWithHt
248261
*
249262
* @param id ID of the API to delete (required)
250263
* @throws ApiException if fails to make API call
264+
* @deprecated
251265
*/
266+
@Deprecated
252267
public void deleteOpenAPI(UUID id) throws ApiException {
253268
deleteOpenAPIWithHttpInfo(id);
254269
}
@@ -260,7 +275,9 @@ public void deleteOpenAPI(UUID id) throws ApiException {
260275
*
261276
* @param id ID of the API to delete (required)
262277
* @return CompletableFuture
278+
* @deprecated
263279
*/
280+
@Deprecated
264281
public CompletableFuture<Void> deleteOpenAPIAsync(UUID id) {
265282
return deleteOpenAPIWithHttpInfoAsync(id)
266283
.thenApply(
@@ -285,7 +302,10 @@ public CompletableFuture<Void> deleteOpenAPIAsync(UUID id) {
285302
* <tr><td> 404 </td><td> API not found error </td><td> - </td></tr>
286303
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
287304
* </table>
305+
*
306+
* @deprecated
288307
*/
308+
@Deprecated
289309
public ApiResponse<Void> deleteOpenAPIWithHttpInfo(UUID id) throws ApiException {
290310
// Check if unstable operation is enabled
291311
String operationId = "deleteOpenAPI";
@@ -334,7 +354,9 @@ public ApiResponse<Void> deleteOpenAPIWithHttpInfo(UUID id) throws ApiException
334354
*
335355
* @param id ID of the API to delete (required)
336356
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
357+
* @deprecated
337358
*/
359+
@Deprecated
338360
public CompletableFuture<ApiResponse<Void>> deleteOpenAPIWithHttpInfoAsync(UUID id) {
339361
// Check if unstable operation is enabled
340362
String operationId = "deleteOpenAPI";
@@ -397,7 +419,9 @@ public CompletableFuture<ApiResponse<Void>> deleteOpenAPIWithHttpInfoAsync(UUID
397419
* @param id ID of the API to retrieve (required)
398420
* @return File
399421
* @throws ApiException if fails to make API call
422+
* @deprecated
400423
*/
424+
@Deprecated
401425
public File getOpenAPI(UUID id) throws ApiException {
402426
return getOpenAPIWithHttpInfo(id).getData();
403427
}
@@ -409,7 +433,9 @@ public File getOpenAPI(UUID id) throws ApiException {
409433
*
410434
* @param id ID of the API to retrieve (required)
411435
* @return CompletableFuture&lt;File&gt;
436+
* @deprecated
412437
*/
438+
@Deprecated
413439
public CompletableFuture<File> getOpenAPIAsync(UUID id) {
414440
return getOpenAPIWithHttpInfoAsync(id)
415441
.thenApply(
@@ -435,7 +461,10 @@ public CompletableFuture<File> getOpenAPIAsync(UUID id) {
435461
* <tr><td> 404 </td><td> API not found error </td><td> - </td></tr>
436462
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
437463
* </table>
464+
*
465+
* @deprecated
438466
*/
467+
@Deprecated
439468
public ApiResponse<File> getOpenAPIWithHttpInfo(UUID id) throws ApiException {
440469
// Check if unstable operation is enabled
441470
String operationId = "getOpenAPI";
@@ -484,7 +513,9 @@ public ApiResponse<File> getOpenAPIWithHttpInfo(UUID id) throws ApiException {
484513
*
485514
* @param id ID of the API to retrieve (required)
486515
* @return CompletableFuture&lt;ApiResponse&lt;File&gt;&gt;
516+
* @deprecated
487517
*/
518+
@Deprecated
488519
public CompletableFuture<ApiResponse<File>> getOpenAPIWithHttpInfoAsync(UUID id) {
489520
// Check if unstable operation is enabled
490521
String operationId = "getOpenAPI";
@@ -586,7 +617,9 @@ public ListAPIsOptionalParameters pageOffset(Long pageOffset) {
586617
*
587618
* @return ListAPIsResponse
588619
* @throws ApiException if fails to make API call
620+
* @deprecated
589621
*/
622+
@Deprecated
590623
public ListAPIsResponse listAPIs() throws ApiException {
591624
return listAPIsWithHttpInfo(new ListAPIsOptionalParameters()).getData();
592625
}
@@ -597,7 +630,9 @@ public ListAPIsResponse listAPIs() throws ApiException {
597630
* <p>See {@link #listAPIsWithHttpInfoAsync}.
598631
*
599632
* @return CompletableFuture&lt;ListAPIsResponse&gt;
633+
* @deprecated
600634
*/
635+
@Deprecated
601636
public CompletableFuture<ListAPIsResponse> listAPIsAsync() {
602637
return listAPIsWithHttpInfoAsync(new ListAPIsOptionalParameters())
603638
.thenApply(
@@ -614,7 +649,9 @@ public CompletableFuture<ListAPIsResponse> listAPIsAsync() {
614649
* @param parameters Optional parameters for the request.
615650
* @return ListAPIsResponse
616651
* @throws ApiException if fails to make API call
652+
* @deprecated
617653
*/
654+
@Deprecated
618655
public ListAPIsResponse listAPIs(ListAPIsOptionalParameters parameters) throws ApiException {
619656
return listAPIsWithHttpInfo(parameters).getData();
620657
}
@@ -626,7 +663,9 @@ public ListAPIsResponse listAPIs(ListAPIsOptionalParameters parameters) throws A
626663
*
627664
* @param parameters Optional parameters for the request.
628665
* @return CompletableFuture&lt;ListAPIsResponse&gt;
666+
* @deprecated
629667
*/
668+
@Deprecated
630669
public CompletableFuture<ListAPIsResponse> listAPIsAsync(ListAPIsOptionalParameters parameters) {
631670
return listAPIsWithHttpInfoAsync(parameters)
632671
.thenApply(
@@ -650,7 +689,10 @@ public CompletableFuture<ListAPIsResponse> listAPIsAsync(ListAPIsOptionalParamet
650689
* <tr><td> 403 </td><td> Forbidden </td><td> - </td></tr>
651690
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
652691
* </table>
692+
*
693+
* @deprecated
653694
*/
695+
@Deprecated
654696
public ApiResponse<ListAPIsResponse> listAPIsWithHttpInfo(ListAPIsOptionalParameters parameters)
655697
throws ApiException {
656698
// Check if unstable operation is enabled
@@ -701,7 +743,9 @@ public ApiResponse<ListAPIsResponse> listAPIsWithHttpInfo(ListAPIsOptionalParame
701743
*
702744
* @param parameters Optional parameters for the request.
703745
* @return CompletableFuture&lt;ApiResponse&lt;ListAPIsResponse&gt;&gt;
746+
* @deprecated
704747
*/
748+
@Deprecated
705749
public CompletableFuture<ApiResponse<ListAPIsResponse>> listAPIsWithHttpInfoAsync(
706750
ListAPIsOptionalParameters parameters) {
707751
// Check if unstable operation is enabled
@@ -779,7 +823,9 @@ public UpdateOpenAPIOptionalParameters openapiSpecFile(File openapiSpecFile) {
779823
* @param id ID of the API to modify (required)
780824
* @return UpdateOpenAPIResponse
781825
* @throws ApiException if fails to make API call
826+
* @deprecated
782827
*/
828+
@Deprecated
783829
public UpdateOpenAPIResponse updateOpenAPI(UUID id) throws ApiException {
784830
return updateOpenAPIWithHttpInfo(id, new UpdateOpenAPIOptionalParameters()).getData();
785831
}
@@ -791,7 +837,9 @@ public UpdateOpenAPIResponse updateOpenAPI(UUID id) throws ApiException {
791837
*
792838
* @param id ID of the API to modify (required)
793839
* @return CompletableFuture&lt;UpdateOpenAPIResponse&gt;
840+
* @deprecated
794841
*/
842+
@Deprecated
795843
public CompletableFuture<UpdateOpenAPIResponse> updateOpenAPIAsync(UUID id) {
796844
return updateOpenAPIWithHttpInfoAsync(id, new UpdateOpenAPIOptionalParameters())
797845
.thenApply(
@@ -809,7 +857,9 @@ public CompletableFuture<UpdateOpenAPIResponse> updateOpenAPIAsync(UUID id) {
809857
* @param parameters Optional parameters for the request.
810858
* @return UpdateOpenAPIResponse
811859
* @throws ApiException if fails to make API call
860+
* @deprecated
812861
*/
862+
@Deprecated
813863
public UpdateOpenAPIResponse updateOpenAPI(UUID id, UpdateOpenAPIOptionalParameters parameters)
814864
throws ApiException {
815865
return updateOpenAPIWithHttpInfo(id, parameters).getData();
@@ -823,7 +873,9 @@ public UpdateOpenAPIResponse updateOpenAPI(UUID id, UpdateOpenAPIOptionalParamet
823873
* @param id ID of the API to modify (required)
824874
* @param parameters Optional parameters for the request.
825875
* @return CompletableFuture&lt;UpdateOpenAPIResponse&gt;
876+
* @deprecated
826877
*/
878+
@Deprecated
827879
public CompletableFuture<UpdateOpenAPIResponse> updateOpenAPIAsync(
828880
UUID id, UpdateOpenAPIOptionalParameters parameters) {
829881
return updateOpenAPIWithHttpInfoAsync(id, parameters)
@@ -852,7 +904,10 @@ public CompletableFuture<UpdateOpenAPIResponse> updateOpenAPIAsync(
852904
* <tr><td> 404 </td><td> API not found error </td><td> - </td></tr>
853905
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
854906
* </table>
907+
*
908+
* @deprecated
855909
*/
910+
@Deprecated
856911
public ApiResponse<UpdateOpenAPIResponse> updateOpenAPIWithHttpInfo(
857912
UUID id, UpdateOpenAPIOptionalParameters parameters) throws ApiException {
858913
// Check if unstable operation is enabled
@@ -909,7 +964,9 @@ public ApiResponse<UpdateOpenAPIResponse> updateOpenAPIWithHttpInfo(
909964
* @param id ID of the API to modify (required)
910965
* @param parameters Optional parameters for the request.
911966
* @return CompletableFuture&lt;ApiResponse&lt;UpdateOpenAPIResponse&gt;&gt;
967+
* @deprecated
912968
*/
969+
@Deprecated
913970
public CompletableFuture<ApiResponse<UpdateOpenAPIResponse>> updateOpenAPIWithHttpInfoAsync(
914971
UUID id, UpdateOpenAPIOptionalParameters parameters) {
915972
// Check if unstable operation is enabled

0 commit comments

Comments
 (0)