Skip to content

Commit 1adbe8c

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 1c2091d of spec repo (#707)
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 47ec61d commit 1adbe8c

File tree

6 files changed

+33
-18
lines changed

6 files changed

+33
-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.5.1.dev2",
7-
"regenerated": "2021-12-02 13:58:28.560167",
8-
"spec_repo_commit": "c8a8203"
7+
"regenerated": "2021-12-03 09:52:08.788250",
8+
"spec_repo_commit": "1c2091d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2021-12-02 13:58:28.983380",
13-
"spec_repo_commit": "c8a8203"
12+
"regenerated": "2021-12-03 09:52:09.215274",
13+
"spec_repo_commit": "1c2091d"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14136,6 +14136,8 @@ components:
1413614136
User:
1413714137
description: Create, edit, and disable users.
1413814138
properties:
14139+
access_role:
14140+
$ref: '#/components/schemas/AccessRole'
1413914141
disabled:
1414014142
description: The new disabled status of the user.
1414114143
example: false

docs/v1/User.md

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/v1/UsersApi.md

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/datadog_api_client/v1/model/user.py

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/v1/features/users.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ Feature: Users
1010
@generated @skip
1111
Scenario: Create a user returns "Bad Request" response
1212
Given new "CreateUser" request
13-
And body with value {"disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
13+
And body with value {"access_role": "st", "disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
1414
When the request is sent
1515
Then the response status is 400 Bad Request
1616

1717
@generated @skip
1818
Scenario: Create a user returns "Conflict" response
1919
Given new "CreateUser" request
20-
And body with value {"disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
20+
And body with value {"access_role": "st", "disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
2121
When the request is sent
2222
Then the response status is 409 Conflict
2323

2424
@generated @skip
2525
Scenario: Create a user returns "User created" response
2626
Given new "CreateUser" request
27-
And body with value {"disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
27+
And body with value {"access_role": "st", "disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
2828
When the request is sent
2929
Then the response status is 200 User created
3030

@@ -73,22 +73,22 @@ Feature: Users
7373
Scenario: Update a user returns "Bad Request" response
7474
Given new "UpdateUser" request
7575
And request contains "user_handle" parameter from "<PATH>"
76-
And body with value {"disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
76+
And body with value {"access_role": "st", "disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
7777
When the request is sent
7878
Then the response status is 400 Bad Request
7979

8080
@generated @skip
8181
Scenario: Update a user returns "Not Found" response
8282
Given new "UpdateUser" request
8383
And request contains "user_handle" parameter from "<PATH>"
84-
And body with value {"disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
84+
And body with value {"access_role": "st", "disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
8585
When the request is sent
8686
Then the response status is 404 Not Found
8787

8888
@generated @skip
8989
Scenario: Update a user returns "User updated" response
9090
Given new "UpdateUser" request
9191
And request contains "user_handle" parameter from "<PATH>"
92-
And body with value {"disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
92+
And body with value {"access_role": "st", "disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
9393
When the request is sent
9494
Then the response status is 200 User updated

0 commit comments

Comments
 (0)