Skip to content

Commit

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

* docs: add new symbol for java
  • Loading branch information
heli-os authored Mar 30, 2023
1 parent 213f9e4 commit 26cd0dd
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 @@ -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"),
Expand Down

0 comments on commit 26cd0dd

Please sign in to comment.