Skip to content

Commit b4ba695

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 063ba8c1 of spec repo (#801)
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 3fa428b commit b4ba695

File tree

7 files changed

+21
-18
lines changed

7 files changed

+21
-18
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.2",
7-
"regenerated": "2022-08-17 17:26:30.821396",
8-
"spec_repo_commit": "57b75ade"
7+
"regenerated": "2022-08-18 14:15:13.204003",
8+
"spec_repo_commit": "063ba8c1"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-08-17 17:26:30.837440",
13-
"spec_repo_commit": "57b75ade"
12+
"regenerated": "2022-08-18 14:15:13.216459",
13+
"spec_repo_commit": "063ba8c1"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5649,8 +5649,9 @@ components:
56495649
format: int32
56505650
type: integer
56515651
type:
5652-
description: Type of the RUM application.
5653-
example: browser|ios|android|react-native|flutter
5652+
description: Type of the RUM application. Supported values are `browser`,
5653+
`ios`, `android`, `react-native`, `flutter`.
5654+
example: browser
56545655
type: string
56555656
updated_at:
56565657
description: Timestamp in ms of the last update date.
@@ -5690,8 +5691,9 @@ components:
56905691
example: my_new_rum_application
56915692
type: string
56925693
type:
5693-
description: Type of the RUM application.
5694-
example: browser|ios|android|react-native|flutter
5694+
description: Type of the RUM application. Supported values are `browser`,
5695+
`ios`, `android`, `react-native`, `flutter`.
5696+
example: browser
56955697
type: string
56965698
required:
56975699
- name
@@ -5751,8 +5753,9 @@ components:
57515753
example: updated_name_for_my_existing_rum_application
57525754
type: string
57535755
type:
5754-
description: Type of the RUM application.
5755-
example: browser|ios|android|react-native|flutter
5756+
description: Type of the RUM application. Supported values are `browser`,
5757+
`ios`, `android`, `react-native`, `flutter`.
5758+
example: browser
57565759
type: string
57575760
type: object
57585761
RUMApplicationUpdateRequest:

examples/v2/rum/UpdateRUMApplication.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const params: v2.RUMApiUpdateRUMApplicationRequest = {
1212
data: {
1313
attributes: {
1414
name: "updated_name_for_my_existing_rum_application",
15-
type: "browser|ios|android|react-native|flutter",
15+
type: "browser",
1616
},
1717
id: "abcd1234-0000-0000-abcd-1234abcd5678",
1818
type: "rum_application_update",

features/v2/rum.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,30 +123,30 @@ Feature: RUM
123123
Scenario: Update a RUM application returns "Bad Request" response
124124
Given new "UpdateRUMApplication" request
125125
And request contains "id" parameter from "REPLACE.ME"
126-
And body with value {"data": {"attributes": {"name": "updated_name_for_my_existing_rum_application", "type": "browser|ios|android|react-native|flutter"}, "id": "abcd1234-0000-0000-abcd-1234abcd5678", "type": "rum_application_update"}}
126+
And body with value {"data": {"attributes": {"name": "updated_name_for_my_existing_rum_application", "type": "browser"}, "id": "abcd1234-0000-0000-abcd-1234abcd5678", "type": "rum_application_update"}}
127127
When the request is sent
128128
Then the response status is 400 Bad Request
129129

130130
@generated @skip @team:DataDog/rum-back
131131
Scenario: Update a RUM application returns "Not Found" response
132132
Given new "UpdateRUMApplication" request
133133
And request contains "id" parameter from "REPLACE.ME"
134-
And body with value {"data": {"attributes": {"name": "updated_name_for_my_existing_rum_application", "type": "browser|ios|android|react-native|flutter"}, "id": "abcd1234-0000-0000-abcd-1234abcd5678", "type": "rum_application_update"}}
134+
And body with value {"data": {"attributes": {"name": "updated_name_for_my_existing_rum_application", "type": "browser"}, "id": "abcd1234-0000-0000-abcd-1234abcd5678", "type": "rum_application_update"}}
135135
When the request is sent
136136
Then the response status is 404 Not Found
137137

138138
@generated @skip @team:DataDog/rum-back
139139
Scenario: Update a RUM application returns "OK" response
140140
Given new "UpdateRUMApplication" request
141141
And request contains "id" parameter from "REPLACE.ME"
142-
And body with value {"data": {"attributes": {"name": "updated_name_for_my_existing_rum_application", "type": "browser|ios|android|react-native|flutter"}, "id": "abcd1234-0000-0000-abcd-1234abcd5678", "type": "rum_application_update"}}
142+
And body with value {"data": {"attributes": {"name": "updated_name_for_my_existing_rum_application", "type": "browser"}, "id": "abcd1234-0000-0000-abcd-1234abcd5678", "type": "rum_application_update"}}
143143
When the request is sent
144144
Then the response status is 200 OK
145145

146146
@generated @skip @team:DataDog/rum-back
147147
Scenario: Update a RUM application returns "Unprocessable Entity." response
148148
Given new "UpdateRUMApplication" request
149149
And request contains "id" parameter from "REPLACE.ME"
150-
And body with value {"data": {"attributes": {"name": "updated_name_for_my_existing_rum_application", "type": "browser|ios|android|react-native|flutter"}, "id": "abcd1234-0000-0000-abcd-1234abcd5678", "type": "rum_application_update"}}
150+
And body with value {"data": {"attributes": {"name": "updated_name_for_my_existing_rum_application", "type": "browser"}, "id": "abcd1234-0000-0000-abcd-1234abcd5678", "type": "rum_application_update"}}
151151
When the request is sent
152152
Then the response status is 422 Unprocessable Entity.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class RUMApplicationAttributes {
3535
*/
3636
"orgId": number;
3737
/**
38-
* Type of the RUM application.
38+
* Type of the RUM application. Supported values are `browser`, `ios`, `android`, `react-native`, `flutter`.
3939
*/
4040
"type": string;
4141
/**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class RUMApplicationCreateAttributes {
1515
*/
1616
"name": string;
1717
/**
18-
* Type of the RUM application.
18+
* Type of the RUM application. Supported values are `browser`, `ios`, `android`, `react-native`, `flutter`.
1919
*/
2020
"type"?: string;
2121

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class RUMApplicationUpdateAttributes {
1515
*/
1616
"name"?: string;
1717
/**
18-
* Type of the RUM application.
18+
* Type of the RUM application. Supported values are `browser`, `ios`, `android`, `react-native`, `flutter`.
1919
*/
2020
"type"?: string;
2121

0 commit comments

Comments
 (0)