oidc realm: add format_description to role-assignment schema

to make our JSON schema api-docs extraction happy.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2025-02-27 11:52:39 +01:00
parent 6b8c7457d6
commit 472f1220f0

View File

@ -31,6 +31,7 @@ my $autocreate_role_assignment_format = {
'role-claim' => {
description => "OIDC claim used to assign the unique username.",
type => 'string',
format_description => 'Role claim.',
default => 'role',
optional => 1,
pattern => qr/^[a-zA-Z0-9._:-]+$/,