changeset 5293:f60287bba62c

mod_http_admin_api: Add roles to user schema in openapi
author Kim Alvefur <zash@zash.se>
date Thu, 30 Mar 2023 12:06:18 +0200
parents 231d9cc750d9
children 385346b6c81d
files mod_http_admin_api/openapi.yaml
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_admin_api/openapi.yaml	Thu Mar 30 12:05:05 2023 +0200
+++ b/mod_http_admin_api/openapi.yaml	Thu Mar 30 12:06:18 2023 +0200
@@ -482,6 +482,21 @@
           type: string
           description: Display name of the user
           nullable: true
+        role:
+          type: string
+          description: Primary role of the user
+          nullable: true
+        secondary_roles:
+          type: array
+          description: List of additional roles assigned to the user
+          items:
+            type: string
+        roles:
+          type: array
+          description: List of roles assigned to the user (Legacy)
+          deprecated: true
+          items:
+            type: string
         email:
           type: string
           description: Optional email address for the user (NYI)