From 6175e1818ce0388a9771d892d571c37a98f2dd66 Mon Sep 17 00:00:00 2001 From: GitHub Action Bot Date: Thu, 31 Aug 2023 17:16:05 +0000 Subject: [PATCH] Automated commit 'Merge pull request #1393 from sailpoint/devrel-1145 devrel-1145' by github action: 6040426441 --- idn/beta/schemas/Source.yaml | 6 ++++++ .../schemas/ApprovalReminderAndEscalationConfig.yaml | 3 ++- idn/v3/schemas/Source.yaml | 6 ++++++ .../ApprovalReminderAndEscalationConfig.yaml | 1 + idn/v3/schemas/search/Search.yaml | 8 ++++++-- idn/v3/schemas/search/TextQuery.yaml | 10 ++++++++-- 6 files changed, 29 insertions(+), 5 deletions(-) diff --git a/idn/beta/schemas/Source.yaml b/idn/beta/schemas/Source.yaml index 11fc52ec..40f9e85c 100644 --- a/idn/beta/schemas/Source.yaml +++ b/idn/beta/schemas/Source.yaml @@ -34,6 +34,10 @@ properties: cluster: description: Reference to the associated Cluster type: object + required: + - name + - id + - type properties: type: description: The type of object being referenced @@ -237,6 +241,7 @@ properties: type: boolean description: >- When true indicates the source is referenced by an IdentityProfile. + default: false example: false managementWorkgroup: description: Reference to Management Workgroup for this Source @@ -260,6 +265,7 @@ properties: type: boolean description: >- When true indicates a healthy source + default: false example: true status: type: string diff --git a/idn/v3/schemas/ApprovalReminderAndEscalationConfig.yaml b/idn/v3/schemas/ApprovalReminderAndEscalationConfig.yaml index 78d90c6c..b493b593 100644 --- a/idn/v3/schemas/ApprovalReminderAndEscalationConfig.yaml +++ b/idn/v3/schemas/ApprovalReminderAndEscalationConfig.yaml @@ -12,8 +12,9 @@ properties: example: 0 maxReminders: type: integer - description: Maximum number of reminder notification to send to the reviewer before approval escalation. This will only be a positive number. + description: Maximum number of reminder notification to send to the reviewer before approval escalation. format: int32 + minimum: 1 example: 1 fallbackApproverRef: $ref: './IdentityReferenceWithNameAndEmail.yaml' \ No newline at end of file diff --git a/idn/v3/schemas/Source.yaml b/idn/v3/schemas/Source.yaml index 74ab534d..423f8f5f 100644 --- a/idn/v3/schemas/Source.yaml +++ b/idn/v3/schemas/Source.yaml @@ -34,6 +34,10 @@ properties: cluster: description: Reference to the associated Cluster type: object + required: + - name + - id + - type properties: type: description: The type of object being referenced @@ -237,6 +241,7 @@ properties: type: boolean description: >- When true indicates the source is referenced by an IdentityProfile. + default: false example: false managementWorkgroup: description: Reference to Management Workgroup for this Source @@ -260,6 +265,7 @@ properties: type: boolean description: >- When true indicates a healthy source + default: false example: true status: type: string diff --git a/idn/v3/schemas/non-employee/ApprovalReminderAndEscalationConfig.yaml b/idn/v3/schemas/non-employee/ApprovalReminderAndEscalationConfig.yaml index 6d3fb8da..22f63123 100644 --- a/idn/v3/schemas/non-employee/ApprovalReminderAndEscalationConfig.yaml +++ b/idn/v3/schemas/non-employee/ApprovalReminderAndEscalationConfig.yaml @@ -16,6 +16,7 @@ properties: Maximum number of reminder notification to send to the reviewer before approval escalation. format: int32 + minimum: 1 example: 3 fallbackApproverRef: $ref: "../IdentityReferenceWithNameAndEmail.yaml" diff --git a/idn/v3/schemas/search/Search.yaml b/idn/v3/schemas/search/Search.yaml index de4d6abb..193f08da 100644 --- a/idn/v3/schemas/search/Search.yaml +++ b/idn/v3/schemas/search/Search.yaml @@ -81,7 +81,9 @@ properties: type: array items: type: string - example: ["displayName", "+id"] + example: + - 'displayName' + - '+id' searchAfter: description: >- @@ -101,7 +103,9 @@ properties: type: array items: type: string - example: ["John Doe","2c91808375d8e80a0175e1f88a575221"] + example: + - 'John Doe' + - '2c91808375d8e80a0175e1f88a575221' filters: description: >- diff --git a/idn/v3/schemas/search/TextQuery.yaml b/idn/v3/schemas/search/TextQuery.yaml index b6bb9c42..b97ca506 100644 --- a/idn/v3/schemas/search/TextQuery.yaml +++ b/idn/v3/schemas/search/TextQuery.yaml @@ -11,14 +11,20 @@ properties: type: array items: type: string - example: ["The quick brown fox","3141592", "7"] + example: + - 'The quick brown fox' + - '3141592' + - '7' fields: description: >- The fields to be searched. type: array items: type: string - example: ["displayName","employeeNumber", "roleCount"] + example: + - 'displayName' + - 'employeeNumber' + - 'roleCount' matchAny: description: >- Indicates that at least one of the terms must be found in the specified fields;