From da3305b964cf5a762bc200fb6a4dc4d56938d501 Mon Sep 17 00:00:00 2001 From: Matthew Cunningham <156697246+matthew-c-hpe@users.noreply.github.com> Date: Fri, 12 Sep 2025 14:14:42 +0100 Subject: [PATCH 1/2] Fixes for role defaultPersona field --- components/schemas/role.yaml | 10 +++++++++- components/schemas/roles.yaml | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/components/schemas/role.yaml b/components/schemas/role.yaml index fb047114..81fc6fad 100644 --- a/components/schemas/role.yaml +++ b/components/schemas/role.yaml @@ -48,8 +48,16 @@ properties: type: string defaultPersona: type: - - string + - object - 'null' + properties: + id: + type: integer + format: int64 + code: + type: string + name: + type: string dateCreated: type: string format: date-time diff --git a/components/schemas/roles.yaml b/components/schemas/roles.yaml index 8b3fd466..b19d652a 100644 --- a/components/schemas/roles.yaml +++ b/components/schemas/roles.yaml @@ -45,8 +45,16 @@ properties: type: string defaultPersona: type: - - string + - object - 'null' + properties: + id: + type: integer + format: int64 + code: + type: string + name: + type: string dateCreated: type: string format: date-time From 1b84c5a136756af901bba8c618ab367bb2496d9a Mon Sep 17 00:00:00 2001 From: Matthew Cunningham <156697246+matthew-c-hpe@users.noreply.github.com> Date: Fri, 12 Sep 2025 14:19:29 +0100 Subject: [PATCH 2/2] Fix indentation --- components/schemas/role.yaml | 16 ++++++++-------- components/schemas/roles.yaml | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/components/schemas/role.yaml b/components/schemas/role.yaml index 81fc6fad..624ff3a7 100644 --- a/components/schemas/role.yaml +++ b/components/schemas/role.yaml @@ -50,14 +50,14 @@ properties: type: - object - 'null' - properties: - id: - type: integer - format: int64 - code: - type: string - name: - type: string + properties: + id: + type: integer + format: int64 + code: + type: string + name: + type: string dateCreated: type: string format: date-time diff --git a/components/schemas/roles.yaml b/components/schemas/roles.yaml index b19d652a..10f989c3 100644 --- a/components/schemas/roles.yaml +++ b/components/schemas/roles.yaml @@ -47,14 +47,14 @@ properties: type: - object - 'null' - properties: - id: - type: integer - format: int64 - code: - type: string - name: - type: string + properties: + id: + type: integer + format: int64 + code: + type: string + name: + type: string dateCreated: type: string format: date-time