Skip to content

Commit 26cd0dd

Browse files
authored
docs: update FieldDescriptors example (#232)
* docs: update FieldDescriptors example * docs: add new symbol for java
1 parent 213f9e4 commit 26cd0dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ Here is an example:
284284
resultActions
285285
.andDo(
286286
MockMvcRestDocumentationWrapper.document(operationName,
287-
requestFields(fieldDescriptors().getFieldDescriptors()),
287+
requestFields(new FieldDescriptors().getFieldDescriptors()),
288288
responseFields(
289289
fieldWithPath("comment").description("the comment"),
290290
fieldWithPath("flag").description("the flag"),

0 commit comments

Comments
 (0)