Skip to content

Commit 3eaf63c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Filter unsupported string formats (#1777)
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 749562e commit 3eaf63c

18 files changed

+7
-40
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-21 17:41:02.666521",
8-
"spec_repo_commit": "e8ef24a7"
7+
"regenerated": "2024-08-21 21:10:04.826518",
8+
"spec_repo_commit": "46829234"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-21 17:41:02.685109",
13-
"spec_repo_commit": "e8ef24a7"
12+
"regenerated": "2024-08-21 21:10:04.853641",
13+
"spec_repo_commit": "46829234"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12863,7 +12863,6 @@ components:
1286312863
items:
1286412864
description: Email address that can receive an invitation to access the
1286512865
shared dashboard.
12866-
format: email
1286712866
type: string
1286812867
nullable: true
1286912868
type: array
@@ -13048,7 +13047,6 @@ components:
1304813047
items:
1304913048
description: Email address that can receive an invitation to access the
1305013049
shared dashboard.
13051-
format: email
1305213050
type: string
1305313051
nullable: true
1305413052
type: array
@@ -21184,12 +21182,10 @@ components:
2118421182
email:
2118521183
description: The new email of the user.
2118621184
21187-
format: email
2118821185
type: string
2118921186
handle:
2119021187
description: The user handle, must be a valid email.
2119121188
21192-
format: email
2119321189
type: string
2119421190
icon:
2119521191
description: Gravatar icon associated to the user.
@@ -33876,7 +33872,6 @@ paths:
3387633872
required: true
3387733873
schema:
3387833874
33879-
format: email
3388033875
type: string
3388133876
responses:
3388233877
'200':
@@ -33918,7 +33913,6 @@ paths:
3391833913
required: true
3391933914
schema:
3392033915
33921-
format: email
3392233916
type: string
3392333917
responses:
3392433918
'200':
@@ -33957,7 +33951,6 @@ paths:
3395733951
required: true
3395833952
schema:
3395933953
33960-
format: email
3396133954
type: string
3396233955
requestBody:
3396333956
content:

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2384,7 +2384,6 @@ components:
23842384
author_email:
23852385
description: The commit author email.
23862386
2387-
format: email
23882387
type: string
23892388
author_name:
23902389
description: The commit author name.
@@ -2409,7 +2408,6 @@ components:
24092408
committer_email:
24102409
description: The committer email.
24112410
2412-
format: email
24132411
nullable: true
24142412
type: string
24152413
committer_name:
@@ -12864,7 +12862,6 @@ components:
1286412862
1286512863
items:
1286612864
description: An email address.
12867-
format: email
1286812865
type: string
1286912866
type: array
1287012867
MetricBulkTagConfigNamePrefix:
@@ -14383,7 +14380,6 @@ components:
1438314380
custom_url:
1438414381
description: The custom URL for a custom region.
1438514382
example: https://example.com
14386-
format: url
1438714383
type: string
1438814384
name:
1438914385
description: The name for the Opsgenie service.
@@ -14446,7 +14442,6 @@ components:
1444614442
custom_url:
1444714443
description: The custom URL for a custom region.
1444814444
example: null
14449-
format: url
1445014445
nullable: true
1445114446
type: string
1445214447
name:
@@ -14490,7 +14485,6 @@ components:
1449014485
custom_url:
1449114486
description: The custom URL for a custom region.
1449214487
example: https://example.com
14493-
format: url
1449414488
nullable: true
1449514489
type: string
1449614490
name:
@@ -20759,7 +20753,6 @@ components:
2075920753
email:
2076020754
description: "Service owner\u2019s email."
2076120755
20762-
format: email
2076320756
type: string
2076420757
slack:
2076520758
description: "Service owner\u2019s Slack channel."
@@ -21020,7 +21013,6 @@ components:
2102021013
contact:
2102121014
description: Contact value.
2102221015
21023-
format: email
2102421016
type: string
2102521017
name:
2102621018
description: Contact email.
@@ -21381,7 +21373,6 @@ components:
2138121373
contact:
2138221374
description: Contact value.
2138321375
21384-
format: email
2138521376
type: string
2138621377
name:
2138721378
description: Contact email.
@@ -22765,7 +22756,6 @@ components:
2276522756
url:
2276622757
description: The URL for the link
2276722758
example: https://example.com
22768-
format: url
2276922759
type: string
2277022760
required:
2277122761
- label

features/support/scenarios_model_mapping.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2249,21 +2249,21 @@ export const ScenariosModelMappings: {[key: string]: {[key: string]: any}} = {
22492249
"v1.DisableUser": {
22502250
"userHandle": {
22512251
"type": "string",
2252-
"format": "email",
2252+
"format": "",
22532253
},
22542254
"operationResponseType": "UserDisableResponse",
22552255
},
22562256
"v1.GetUser": {
22572257
"userHandle": {
22582258
"type": "string",
2259-
"format": "email",
2259+
"format": "",
22602260
},
22612261
"operationResponseType": "UserResponse",
22622262
},
22632263
"v1.UpdateUser": {
22642264
"userHandle": {
22652265
"type": "string",
2266-
"format": "email",
2266+
"format": "",
22672267
},
22682268
"body": {
22692269
"type": "User",

packages/datadog-api-client-v1/models/SharedDashboard.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ export class SharedDashboard {
114114
shareList: {
115115
baseName: "share_list",
116116
type: "Array<string>",
117-
format: "email",
118117
},
119118
shareType: {
120119
baseName: "share_type",

packages/datadog-api-client-v1/models/SharedDashboardUpdateRequest.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ export class SharedDashboardUpdateRequest {
6666
shareList: {
6767
baseName: "share_list",
6868
type: "Array<string>",
69-
format: "email",
7069
},
7170
shareType: {
7271
baseName: "share_type",

packages/datadog-api-client-v1/models/User.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,10 @@ export class User {
6767
email: {
6868
baseName: "email",
6969
type: "string",
70-
format: "email",
7170
},
7271
handle: {
7372
baseName: "handle",
7473
type: "string",
75-
format: "email",
7674
},
7775
icon: {
7876
baseName: "icon",

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ export class CIAppGitInfo {
8080
baseName: "author_email",
8181
type: "string",
8282
required: true,
83-
format: "email",
8483
},
8584
authorName: {
8685
baseName: "author_name",
@@ -101,7 +100,6 @@ export class CIAppGitInfo {
101100
committerEmail: {
102101
baseName: "committer_email",
103102
type: "string",
104-
format: "email",
105103
},
106104
committerName: {
107105
baseName: "committer_name",

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export class MetricBulkTagConfigCreateAttributes {
4444
emails: {
4545
baseName: "emails",
4646
type: "Array<string>",
47-
format: "email",
4847
},
4948
excludeTagsMode: {
5049
baseName: "exclude_tags_mode",

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export class MetricBulkTagConfigDeleteAttributes {
3434
emails: {
3535
baseName: "emails",
3636
type: "Array<string>",
37-
format: "email",
3837
},
3938
additionalProperties: {
4039
baseName: "additionalProperties",

0 commit comments

Comments
 (0)