Skip to content

Commit

Permalink
docs: update FieldDescriptors example (ePages-de#232)
Browse files Browse the repository at this point in the history
* docs: update FieldDescriptors example

* docs: add new symbol for java

(cherry picked from commit 26cd0dd)
  • Loading branch information
heli-os authored and Kieun committed Nov 3, 2023
1 parent b77eb63 commit 8a732a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 8a732a0

Please sign in to comment.