From 26cd0dde3d264894ac80776dcccb3406a644cadd Mon Sep 17 00:00:00 2001 From: "Taeyang Jin (Heli)" Date: Thu, 30 Mar 2023 18:49:52 +0900 Subject: [PATCH] docs: update FieldDescriptors example (#232) * docs: update FieldDescriptors example * docs: add new symbol for java --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"),