Skip to content

Commit c2f073e

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Enable automerging for opsgenie routes. (#1760)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent a00ca9a commit c2f073e

File tree

5 files changed

+29
-4
lines changed

5 files changed

+29
-4
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": "2024-08-14 20:56:46.224274",
8-
"spec_repo_commit": "dcc3176b"
7+
"regenerated": "2024-08-14 22:02:40.456090",
8+
"spec_repo_commit": "5e33062a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-14 20:56:46.242852",
13-
"spec_repo_commit": "dcc3176b"
12+
"regenerated": "2024-08-14 22:02:40.474316",
13+
"spec_repo_commit": "5e33062a"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14304,10 +14304,12 @@ components:
1430414304
custom_url:
1430514305
description: The custom URL for a custom region.
1430614306
example: https://example.com
14307+
format: url
1430714308
type: string
1430814309
name:
1430914310
description: The name for the Opsgenie service.
1431014311
example: fake-opsgenie-service-name
14312+
maxLength: 100
1431114313
type: string
1431214314
opsgenie_api_key:
1431314315
description: The Opsgenie API key for your Opsgenie service.
@@ -14365,12 +14367,18 @@ components:
1436514367
custom_url:
1436614368
description: The custom URL for a custom region.
1436714369
example: null
14370+
format: url
1436814371
nullable: true
1436914372
type: string
1437014373
name:
1437114374
description: The name for the Opsgenie service.
1437214375
example: fake-opsgenie-service-name
14376+
maxLength: 100
14377+
type: string
14378+
opsgenie_api_key:
14379+
description: The OpsgenieServiceResponseAttributes opsgenie_api_key.
1437314380
type: string
14381+
writeOnly: true
1437414382
region:
1437514383
$ref: '#/components/schemas/OpsgenieServiceRegionType'
1437614384
type: object
@@ -14382,6 +14390,8 @@ components:
1438214390
id:
1438314391
description: The ID of the Opsgenie service.
1438414392
example: 596da4af-0563-4097-90ff-07230c3f9db3
14393+
maxLength: 100
14394+
minLength: 1
1438514395
type: string
1438614396
type:
1438714397
$ref: '#/components/schemas/OpsgenieServiceType'
@@ -14405,11 +14415,13 @@ components:
1440514415
custom_url:
1440614416
description: The custom URL for a custom region.
1440714417
example: https://example.com
14418+
format: url
1440814419
nullable: true
1440914420
type: string
1441014421
name:
1441114422
description: The name for the Opsgenie service.
1441214423
example: fake-opsgenie-service-name
14424+
maxLength: 100
1441314425
type: string
1441414426
opsgenie_api_key:
1441514427
description: The Opsgenie API key for your Opsgenie service.
@@ -14426,6 +14438,8 @@ components:
1442614438
id:
1442714439
description: The ID of the Opsgenie service.
1442814440
example: 596da4af-0563-4097-90ff-07230c3f9db3
14441+
maxLength: 100
14442+
minLength: 1
1442914443
type: string
1443014444
type:
1443114445
$ref: '#/components/schemas/OpsgenieServiceType'

packages/datadog-api-client-v2/models/OpsgenieServiceCreateAttributes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export class OpsgenieServiceCreateAttributes {
4747
customUrl: {
4848
baseName: "custom_url",
4949
type: "string",
50+
format: "url",
5051
},
5152
name: {
5253
baseName: "name",

packages/datadog-api-client-v2/models/OpsgenieServiceResponseAttributes.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ export class OpsgenieServiceResponseAttributes {
1919
* The name for the Opsgenie service.
2020
*/
2121
"name"?: string;
22+
/**
23+
* The OpsgenieServiceResponseAttributes opsgenie_api_key.
24+
*/
25+
"opsgenieApiKey"?: string;
2226
/**
2327
* The region for the Opsgenie service.
2428
*/
@@ -43,11 +47,16 @@ export class OpsgenieServiceResponseAttributes {
4347
customUrl: {
4448
baseName: "custom_url",
4549
type: "string",
50+
format: "url",
4651
},
4752
name: {
4853
baseName: "name",
4954
type: "string",
5055
},
56+
opsgenieApiKey: {
57+
baseName: "opsgenie_api_key",
58+
type: "string",
59+
},
5160
region: {
5261
baseName: "region",
5362
type: "OpsgenieServiceRegionType",

packages/datadog-api-client-v2/models/OpsgenieServiceUpdateAttributes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export class OpsgenieServiceUpdateAttributes {
4747
customUrl: {
4848
baseName: "custom_url",
4949
type: "string",
50+
format: "url",
5051
},
5152
name: {
5253
baseName: "name",

0 commit comments

Comments
 (0)