From 4b0ff573913eb7d28a54809a054e9a64df56e21f Mon Sep 17 00:00:00 2001 From: Markus Strehle Date: Thu, 5 Aug 2021 14:10:46 +0200 Subject: [PATCH] fix generateDocs --- .../uaa/mock/providers/IdentityProviderEndpointDocs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uaa/src/test/java/org/cloudfoundry/identity/uaa/mock/providers/IdentityProviderEndpointDocs.java b/uaa/src/test/java/org/cloudfoundry/identity/uaa/mock/providers/IdentityProviderEndpointDocs.java index 0b0eda6e340..33a4a970a06 100644 --- a/uaa/src/test/java/org/cloudfoundry/identity/uaa/mock/providers/IdentityProviderEndpointDocs.java +++ b/uaa/src/test/java/org/cloudfoundry/identity/uaa/mock/providers/IdentityProviderEndpointDocs.java @@ -136,7 +136,7 @@ class IdentityProviderEndpointDocs extends EndpointDocs { ATTRIBUTE_MAPPING_CUSTOM_ATTRIBUTES_DEPARTMENT }; - private FieldDescriptor relyingPartySecret = fieldWithPath("config.relyingPartySecret").optional().type(STRING).description("The client secret of the relying party at the external OAuth provider. If not set, the external OAuth client is treated as public client, then the flow is protected with [PKCE](https://tools.ietf.org/html/rfc7636) using code challenge method `S256`."); + private FieldDescriptor relyingPartySecret = fieldWithPath("config.relyingPartySecret").constrained("Required if the external client is confidential.").type(STRING).description("The client secret of the relying party at the external OAuth provider. If not set, the external OAuth client is treated as public client, then the flow is protected with [PKCE](https://tools.ietf.org/html/rfc7636) using code challenge method `S256`."); private static InMemoryLdapServer ldapContainer;