diff --git a/.apigentools-info b/.apigentools-info
index e9130b7092a..c89439e7c7c 100644
--- a/.apigentools-info
+++ b/.apigentools-info
@@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.0.0b1",
- "regenerated": "2020-04-23 17:08:23.456288",
- "spec_repo_commit": "1445ecd"
+ "regenerated": "2020-04-23 18:33:52.021207",
+ "spec_repo_commit": "6d8b10b"
},
"v2": {
"apigentools_version": "1.0.0b1",
- "regenerated": "2020-04-23 17:08:28.766933",
- "spec_repo_commit": "1445ecd"
+ "regenerated": "2020-04-23 18:33:57.233422",
+ "spec_repo_commit": "6d8b10b"
}
}
}
\ No newline at end of file
diff --git a/api_docs/v2/RolesApi.md b/api_docs/v2/RolesApi.md
index 4cd60cd63dd..589e4ed3e88 100644
--- a/api_docs/v2/RolesApi.md
+++ b/api_docs/v2/RolesApi.md
@@ -770,7 +770,6 @@ Name | Type | Description | Notes
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | OK | - |
-| **400** | Bad Request | - |
| **403** | Authentication error | - |
@@ -854,6 +853,7 @@ Name | Type | Description | Notes
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | OK | - |
+| **400** | Bad Request | - |
| **403** | Authentication error | - |
| **404** | Not found | - |
@@ -938,6 +938,7 @@ Name | Type | Description | Notes
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | OK | - |
+| **400** | Bad Request | - |
| **403** | Authentication error | - |
| **404** | Not found | - |
diff --git a/src/main/java/com/datadog/api/v2/client/api/RolesApi.java b/src/main/java/com/datadog/api/v2/client/api/RolesApi.java
index 344cf1eb8c6..5ad1c62bb79 100644
--- a/src/main/java/com/datadog/api/v2/client/api/RolesApi.java
+++ b/src/main/java/com/datadog/api/v2/client/api/RolesApi.java
@@ -1019,7 +1019,6 @@ public APIlistRolesRequest filter(String filter) {
Status Code | Description | Response Headers |
200 | OK | - |
- 400 | Bad Request | - |
403 | Authentication error | - |
@@ -1037,7 +1036,6 @@ public RolesResponse execute() throws ApiException {
Status Code | Description | Response Headers |
200 | OK | - |
- 400 | Bad Request | - |
403 | Authentication error | - |
@@ -1130,6 +1128,7 @@ public APIremovePermissionFromRoleRequest body(RelationshipToPermission body) {
Status Code | Description | Response Headers |
200 | OK | - |
+ 400 | Bad Request | - |
403 | Authentication error | - |
404 | Not found | - |
@@ -1148,6 +1147,7 @@ public PermissionsResponse execute() throws ApiException {
Status Code | Description | Response Headers |
200 | OK | - |
+ 400 | Bad Request | - |
403 | Authentication error | - |
404 | Not found | - |
@@ -1242,6 +1242,7 @@ public APIremoveUserFromRoleRequest body(RelationshipToUser body) {
Status Code | Description | Response Headers |
200 | OK | - |
+ 400 | Bad Request | - |
403 | Authentication error | - |
404 | Not found | - |
@@ -1260,6 +1261,7 @@ public UsersResponse execute() throws ApiException {
Status Code | Description | Response Headers |
200 | OK | - |
+ 400 | Bad Request | - |
403 | Authentication error | - |
404 | Not found | - |
diff --git a/src/main/java/com/datadog/api/v2/openapi.yaml b/src/main/java/com/datadog/api/v2/openapi.yaml
index e87c372c6ae..65f117868e3 100644
--- a/src/main/java/com/datadog/api/v2/openapi.yaml
+++ b/src/main/java/com/datadog/api/v2/openapi.yaml
@@ -1027,12 +1027,6 @@ paths:
schema:
$ref: '#/components/schemas/RolesResponse'
description: OK
- '400':
- content:
- applcation/json:
- schema:
- $ref: '#/components/schemas/APIErrorResponse'
- description: Bad Request
'403':
content:
applcation/json:
@@ -1184,6 +1178,12 @@ paths:
schema:
$ref: '#/components/schemas/PermissionsResponse'
description: OK
+ '400':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Bad Request
'403':
content:
application/json:
@@ -1285,6 +1285,12 @@ paths:
schema:
$ref: '#/components/schemas/UsersResponse'
description: OK
+ '400':
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/APIErrorResponse'
+ description: Bad Request
'403':
content:
application/json: