diff --git a/docs/source/specs/openapi.json b/docs/source/specs/openapi.json index 0f3009c6..d09902d4 100644 --- a/docs/source/specs/openapi.json +++ b/docs/source/specs/openapi.json @@ -2054,7 +2054,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/RoleWithAccess" + "$ref": "#/components/schemas/RolePut" } } }, @@ -4222,6 +4222,28 @@ } } }, + "RolePut": { + "allOf": [ + { + "$ref": "#/components/schemas/RolePatch" + }, + { + "type": "object", + "required": [ + "access" + ], + "properties": { + "access": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Access" + }, + "description": "List of access permissions. This array can be empty." + } + } + } + ] + }, "RoleWithAccess": { "allOf": [ {