From 71b29684b3a326a584ce6f18fedc781905c626f2 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 11 Dec 2018 08:30:24 +0000 Subject: [PATCH] Remove redundant field type configuration See gh-15435 --- .../MappingsEndpointServletDocumentationTests.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/MappingsEndpointServletDocumentationTests.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/MappingsEndpointServletDocumentationTests.java index 077e5d0f83..d2f8e11132 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/MappingsEndpointServletDocumentationTests.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/MappingsEndpointServletDocumentationTests.java @@ -150,12 +150,10 @@ public class MappingsEndpointServletDocumentationTests .description("Details of the method, if any, " + "that will handle requests to this mapping."), fieldWithPath("*.[].details.handlerMethod.className") - .type(JsonFieldType.STRING) .description("Fully qualified name of the class of the method."), fieldWithPath("*.[].details.handlerMethod.name") - .type(JsonFieldType.STRING).description("Name of the method."), + .description("Name of the method."), fieldWithPath("*.[].details.handlerMethod.descriptor") - .type(JsonFieldType.STRING) .description("Descriptor of the method as specified in the Java " + "Language Specification.")); dispatcherServletFields.addAll(handlerMethod);