|
|
@ -145,13 +145,11 @@ public class MappingsEndpointServletDocumentationTests
|
|
|
|
.type(JsonFieldType.OBJECT)
|
|
|
|
.type(JsonFieldType.OBJECT)
|
|
|
|
.description("Details of the method, if any, "
|
|
|
|
.description("Details of the method, if any, "
|
|
|
|
+ "that will handle requests to this mapping."),
|
|
|
|
+ "that will handle requests to this mapping."),
|
|
|
|
fieldWithPath("*.[].details.handlerMethod.className").optional()
|
|
|
|
fieldWithPath("*.[].details.handlerMethod.className")
|
|
|
|
.type(JsonFieldType.STRING)
|
|
|
|
|
|
|
|
.description("Fully qualified name of the class of the method."),
|
|
|
|
.description("Fully qualified name of the class of the method."),
|
|
|
|
fieldWithPath("*.[].details.handlerMethod.name").optional()
|
|
|
|
fieldWithPath("*.[].details.handlerMethod.name")
|
|
|
|
.type(JsonFieldType.STRING).description("Name of the method."),
|
|
|
|
.description("Name of the method."),
|
|
|
|
fieldWithPath("*.[].details.handlerMethod.descriptor").optional()
|
|
|
|
fieldWithPath("*.[].details.handlerMethod.descriptor")
|
|
|
|
.type(JsonFieldType.STRING)
|
|
|
|
|
|
|
|
.description("Descriptor of the method as specified in the Java "
|
|
|
|
.description("Descriptor of the method as specified in the Java "
|
|
|
|
+ "Language Specification."));
|
|
|
|
+ "Language Specification."));
|
|
|
|
dispatcherServletFields.addAll(handlerMethod);
|
|
|
|
dispatcherServletFields.addAll(handlerMethod);
|
|
|
|