Skip to content

Commit 8a732a0

Browse files
heli-osKieun
authored andcommitted
docs: update FieldDescriptors example (ePages-de#232)
* docs: update FieldDescriptors example * docs: add new symbol for java (cherry picked from commit 26cd0dd)
1 parent b77eb63 commit 8a732a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Here is an example:
274274
resultActions
275275
.andDo(
276276
MockMvcRestDocumentationWrapper.document(operationName,
277-
requestFields(fieldDescriptors().getFieldDescriptors()),
277+
requestFields(new FieldDescriptors().getFieldDescriptors()),
278278
responseFields(
279279
fieldWithPath("comment").description("the comment"),
280280
fieldWithPath("flag").description("the flag"),

0 commit comments

Comments
 (0)