Merge branch '2.1.x'

This commit is contained in:
Andy Wilkinson 2018-12-10 17:58:00 +00:00
commit 393decff35
1 changed files with 3 additions and 3 deletions

View File

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