Remove redundant field type configuration

See gh-15435
This commit is contained in:
Andy Wilkinson 2018-12-11 08:30:24 +00:00
parent adb145e225
commit 71b29684b3

View File

@ -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);