Example usage for Java org.springframework.restdocs.payload PayloadDocumentation fields, constructors, methods, implement or subclass
The text is from its open source code.
FieldDescriptor | fieldWithPath(String path) Creates a FieldDescriptor that describes a field with the given path . |
RequestFieldsSnippet | requestFields(FieldDescriptor... descriptors) Returns a Snippet that will document the fields of the API operations's request payload. |
RequestFieldsSnippet | requestFields(List Returns a Snippet that will document the fields of the API operations's request payload. |
ResponseFieldsSnippet | responseFields(FieldDescriptor... descriptors) Returns a Snippet that will document the fields of the API operation's response payload. |
ResponseFieldsSnippet | responseFields(List Returns a Snippet that will document the fields of the API operation's response payload. |
SubsectionDescriptor | subsectionWithPath(String path) Creates a FieldDescriptor that describes a subsection, i.e. |