Skip to content

Commit 47ec61d

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

File tree

6 files changed

+18
-33
lines changed

6 files changed

+18
-33
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 09:07:46.050936",
8-
"spec_repo_commit": "d837514"
7+
"regenerated": "2021-12-02 13:58:28.560167",
8+
"spec_repo_commit": "c8a8203"
99
},
1010
"v2": {
1111
"apigentools_version": "1.5.1.dev2",
12-
"regenerated": "2021-12-02 09:07:46.584919",
13-
"spec_repo_commit": "d837514"
12+
"regenerated": "2021-12-02 13:58:28.983380",
13+
"spec_repo_commit": "c8a8203"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

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

docs/v1/User.md

Lines changed: 8 additions & 9 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: 0 additions & 2 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: 0 additions & 10 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 {"access_role": "st", "disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
13+
And body with value {"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 {"access_role": "st", "disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
20+
And body with value {"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 {"access_role": "st", "disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
27+
And body with value {"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 {"access_role": "st", "disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
76+
And body with value {"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 {"access_role": "st", "disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
84+
And body with value {"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 {"access_role": "st", "disabled": false, "email": "[email protected]", "handle": "[email protected]", "name": "test user"}
92+
And body with value {"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)