Skip to content

Commit de2193e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Link the main documentation in the CreateAPI section (#1632)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent e335c12 commit de2193e

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.apigentools-info

+4-4
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": "2024-05-29 12:19:39.295098",
8-
"spec_repo_commit": "5a618bf5"
7+
"regenerated": "2024-05-29 17:07:14.558729",
8+
"spec_repo_commit": "faa2d929"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-05-29 12:19:39.312822",
13-
"spec_repo_commit": "5a618bf5"
12+
"regenerated": "2024-05-29 17:07:14.576283",
13+
"spec_repo_commit": "faa2d929"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -23222,11 +23222,10 @@ paths:
2322223222
description: 'Create a new API from the [OpenAPI](https://spec.openapis.org/oas/latest.html)
2322323223
specification given.
2322423224

23225-
It supports version `2.0`, `3.0` and `3.1` of the specification. A specific
23226-
extension section, `x-datadog`,
23225+
See the [API Catalog documentation](https://docs.datadoghq.com/api_catalog/add_metadata/)
23226+
for additional
2322723227

23228-
let you specify the `teamHandle` for your team responsible for the API in
23229-
Datadog.
23228+
information about the possible metadata.
2323023229

2323123230
It returns the created API ID.
2323223231

packages/datadog-api-client-v2/apis/APIManagementApi.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -578,8 +578,8 @@ export class APIManagementApi {
578578

579579
/**
580580
* Create a new API from the [OpenAPI](https://spec.openapis.org/oas/latest.html) specification given.
581-
* It supports version `2.0`, `3.0` and `3.1` of the specification. A specific extension section, `x-datadog`,
582-
* let you specify the `teamHandle` for your team responsible for the API in Datadog.
581+
* See the [API Catalog documentation](https://docs.datadoghq.com/api_catalog/add_metadata/) for additional
582+
* information about the possible metadata.
583583
* It returns the created API ID.
584584
* @param param The request object
585585
*/

0 commit comments

Comments
 (0)