diff --git a/openapi.yaml b/openapi.yaml index d0211f9..ce733fb 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -2040,7 +2040,6 @@ components: type: string enum: - required - - max_length - is_array - is_base64 - is_boolean @@ -2098,6 +2097,8 @@ components: - min_lowercase - min_uppercase - min_symbols + - min_items + - min nullable: false readOnly: true minimum: @@ -2108,7 +2109,7 @@ components: example: body reason: type: string - example: is a required field + example: must have at least 8 characters readOnly: true additionalProperties: false required: @@ -2116,6 +2117,38 @@ components: - reason - rule - minimum + InvalidParameterMaximumLength: + type: object + properties: + field: + type: string + example: name + readOnly: true + rule: + description: invalid parameters rules + type: string + enum: + - max_length + - max_items + - max + nullable: false + readOnly: true + maximum: + type: integer + example: 8 + source: + type: string + example: body + reason: + type: string + example: must not have more than 8 characters + readOnly: true + additionalProperties: false + required: + - field + - reason + - rule + - maximum InvalidParameterChoiceItem: type: object properties: @@ -2190,6 +2223,7 @@ components: oneOf: - $ref: '#/components/schemas/InvalidParameterStandard' - $ref: '#/components/schemas/InvalidParameterMinimumLength' + - $ref: '#/components/schemas/InvalidParameterMaximumLength' - $ref: '#/components/schemas/InvalidParameterChoiceItem' - $ref: '#/components/schemas/InvalidParameterDependentItem' minItems: 1 @@ -4299,3 +4333,9 @@ tags: all of the described endpoints will return a 404 error - name: search description: The API for Konnect Portal Search. +x-errors: + granted-scopes-unavailable: + description: | + The IDP used does not support granted scopes. + resolution: | + Switch to an IDP that allows you to grant specific scopes.