From 8a732a0bc30c88f2638f4df6b57482269db4a101 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 (cherry picked from commit 26cd0dde3d264894ac80776dcccb3406a644cadd) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 345894a..d22526f 100644 --- a/README.md +++ b/README.md @@ -274,7 +274,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"),