diff --git a/README.md b/README.md index a7e342b..0b9ba7f 100644 --- a/README.md +++ b/README.md @@ -284,7 +284,7 @@ Here is an example: resultActions .andDo( MockMvcRestDocumentationWrapper.document(operationName, - requestFields(fieldDescriptors().getFieldDescriptors()), + requestFields(new FieldDescriptors().getFieldDescriptors()), responseFields( fieldWithPath("comment").description("the comment"), fieldWithPath("flag").description("the flag"),