mirror of
https://git.proxmox.com/git/pmg-api
synced 2025-10-04 20:51:37 +00:00
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:
parent
6b8c7457d6
commit
472f1220f0
@ -31,6 +31,7 @@ my $autocreate_role_assignment_format = {
|
|||||||
'role-claim' => {
|
'role-claim' => {
|
||||||
description => "OIDC claim used to assign the unique username.",
|
description => "OIDC claim used to assign the unique username.",
|
||||||
type => 'string',
|
type => 'string',
|
||||||
|
format_description => 'Role claim.',
|
||||||
default => 'role',
|
default => 'role',
|
||||||
optional => 1,
|
optional => 1,
|
||||||
pattern => qr/^[a-zA-Z0-9._:-]+$/,
|
pattern => qr/^[a-zA-Z0-9._:-]+$/,
|
||||||
|
Loading…
Reference in New Issue
Block a user