From 4fd6cb91c20595bfe457213fa0f3e06026e8e187 Mon Sep 17 00:00:00 2001 From: d036670 Date: Mon, 8 Jul 2024 19:56:21 +0200 Subject: [PATCH] review --- .../identity/uaa/mock/clients/ClientAdminEndpointDocs.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uaa/src/test/java/org/cloudfoundry/identity/uaa/mock/clients/ClientAdminEndpointDocs.java b/uaa/src/test/java/org/cloudfoundry/identity/uaa/mock/clients/ClientAdminEndpointDocs.java index 5c1d3b5265e..d6d459373ef 100644 --- a/uaa/src/test/java/org/cloudfoundry/identity/uaa/mock/clients/ClientAdminEndpointDocs.java +++ b/uaa/src/test/java/org/cloudfoundry/identity/uaa/mock/clients/ClientAdminEndpointDocs.java @@ -82,8 +82,8 @@ class ClientAdminEndpointDocs extends AdminClientCreator { fieldWithPath("client_id").required().description(clientIdDescription), fieldWithPath("jwks").constrained("Optional only, if jwks_uri is used. Required otherwise.").type(STRING).description("A valid JSON string according JSON Web Key Set standard, see [RFC 7517](https://www.rfc-editor.org/rfc/rfc7517), e.g. content of /token_keys endpoint from UAA"), fieldWithPath("jwks_uri").constrained("Optional only, if jwks is used. Required otherwise.").type(STRING).description("A valid URI to token keys endpoint. Must be compliant to jwks_uri from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html)."), - fieldWithPath("kid").constrained("Optional only, if a single JWK should be deleted, else ignored.").type(STRING).description("If change mode is set to `"+ClientJwtChangeRequest.ChangeMode.DELETE+"`, the `id of the key` that will be deleted. The kid parameter is only possible if jwks configuration is used."), - fieldWithPath("changeMode").optional(ClientJwtChangeRequest.ChangeMode.ADD).type(STRING).description("If change mode is set to `"+ClientJwtChangeRequest.ChangeMode.ADD+"`, the new `JWKS` will be added to the existing configuration and if the change mode is set to `"+ClientJwtChangeRequest.ChangeMode.DELETE+"`, the old JWK will be deleted. The option `"+ClientJwtChangeRequest.ChangeMode.UPDATE+"` changes the complete trust setting and allow to switch between `JWKS` and `JWKS_URI`.") + fieldWithPath("kid").constrained("Optional only, if a single JWK should be deleted, else ignored.").type(STRING).description("If change mode is set to `"+ClientJwtChangeRequest.ChangeMode.DELETE+"`, it specifies `the id of the key` that will be deleted. The kid parameter is only applicable when jwks configuration is used."), + fieldWithPath("changeMode").optional(ClientJwtChangeRequest.ChangeMode.ADD).type(STRING).description("If change mode is set to `"+ClientJwtChangeRequest.ChangeMode.ADD+"`, the new `JWKS` will be added to the existing configuration and if the change mode is set to `"+ClientJwtChangeRequest.ChangeMode.DELETE+"`, the old `JWKS` will be deleted. The option `"+ClientJwtChangeRequest.ChangeMode.UPDATE+"` enables changes to the complete trust setting and allows switching between `JWKS` and `JWKS_URI`.") }; @BeforeEach