Uses of Class
org.springframework.restdocs.payload.RequestFieldsSnippet
Package
Description
Documenting the payload of a RESTful API's requests and responses.
-
Uses of RequestFieldsSnippet in org.springframework.restdocs.payload
Modifier and TypeMethodDescriptionfinal RequestFieldsSnippet
RequestFieldsSnippet.and
(List<FieldDescriptor> additionalDescriptors) Returns a newRequestFieldsSnippet
configured with this snippet's attributes and its descriptors combined with the givenadditionalDescriptors
.final RequestFieldsSnippet
RequestFieldsSnippet.and
(FieldDescriptor... additionalDescriptors) Returns a newRequestFieldsSnippet
configured with this snippet's attributes and its descriptors combined with the givenadditionalDescriptors
.final RequestFieldsSnippet
RequestFieldsSnippet.andWithPrefix
(String pathPrefix, List<FieldDescriptor> additionalDescriptors) Returns a newRequestFieldsSnippet
configured with this snippet's attributes and its descriptors combined with the givenadditionalDescriptors
.final RequestFieldsSnippet
RequestFieldsSnippet.andWithPrefix
(String pathPrefix, FieldDescriptor... additionalDescriptors) Returns a newRequestFieldsSnippet
configured with this snippet's attributes and its descriptors combined with the givenadditionalDescriptors
.static RequestFieldsSnippet
PayloadDocumentation.relaxedRequestFields
(List<FieldDescriptor> descriptors) Returns aSnippet
that will document the fields of the API operations's request payload.static RequestFieldsSnippet
PayloadDocumentation.relaxedRequestFields
(Map<String, Object> attributes, List<FieldDescriptor> descriptors) Returns aSnippet
that will document the fields of the API operation's request payload.static RequestFieldsSnippet
PayloadDocumentation.relaxedRequestFields
(Map<String, Object> attributes, FieldDescriptor... descriptors) Returns aSnippet
that will document the fields of the API operation's request payload.static RequestFieldsSnippet
PayloadDocumentation.relaxedRequestFields
(FieldDescriptor... descriptors) Returns aSnippet
that will document the fields of the API operations's request payload.static RequestFieldsSnippet
PayloadDocumentation.relaxedRequestFields
(PayloadSubsectionExtractor<?> subsectionExtractor, List<FieldDescriptor> descriptors) Returns aSnippet
that will document the fields of the subsection of the API operations's request payload extracted by the givensubsectionExtractor
.static RequestFieldsSnippet
PayloadDocumentation.relaxedRequestFields
(PayloadSubsectionExtractor<?> subsectionExtractor, Map<String, Object> attributes, List<FieldDescriptor> descriptors) Returns aSnippet
that will document the fields of the subsection of the API operation's request payload extracted by the givensubsectionExtractor
.static RequestFieldsSnippet
PayloadDocumentation.relaxedRequestFields
(PayloadSubsectionExtractor<?> subsectionExtractor, Map<String, Object> attributes, FieldDescriptor... descriptors) Returns aSnippet
that will document the fields of the subsection of the API operation's request payload extracted by the givensubsectionExtractor
.static RequestFieldsSnippet
PayloadDocumentation.relaxedRequestFields
(PayloadSubsectionExtractor<?> subsectionExtractor, FieldDescriptor... descriptors) Returns aSnippet
that will document the fields of the subsection of the API operations's request payload extracted by the givensubsectionExtractor
.static RequestFieldsSnippet
PayloadDocumentation.requestFields
(List<FieldDescriptor> descriptors) Returns aSnippet
that will document the fields of the API operations's request payload.static RequestFieldsSnippet
PayloadDocumentation.requestFields
(Map<String, Object> attributes, List<FieldDescriptor> descriptors) Returns aSnippet
that will document the fields of the API operation's request payload.static RequestFieldsSnippet
PayloadDocumentation.requestFields
(Map<String, Object> attributes, FieldDescriptor... descriptors) Returns aSnippet
that will document the fields of the API operation's request payload.static RequestFieldsSnippet
PayloadDocumentation.requestFields
(FieldDescriptor... descriptors) Returns aSnippet
that will document the fields of the API operations's request payload.static RequestFieldsSnippet
PayloadDocumentation.requestFields
(PayloadSubsectionExtractor<?> subsectionExtractor, List<FieldDescriptor> descriptors) Returns aSnippet
that will document the fields in the subsection of the API operations's request payload extracted by the givensubsectionExtractor
.static RequestFieldsSnippet
PayloadDocumentation.requestFields
(PayloadSubsectionExtractor<?> subsectionExtractor, Map<String, Object> attributes, List<FieldDescriptor> descriptors) Returns aSnippet
that will document the fields of the subsection of the API operation's request payload extracted by the givensubsectionExtractor
.static RequestFieldsSnippet
PayloadDocumentation.requestFields
(PayloadSubsectionExtractor<?> subsectionExtractor, Map<String, Object> attributes, FieldDescriptor... descriptors) Returns aSnippet
that will document the fields of the subsection of the API operation's request payload extracted by the givensubsectionExtractor
.static RequestFieldsSnippet
PayloadDocumentation.requestFields
(PayloadSubsectionExtractor<?> subsectionExtractor, FieldDescriptor... descriptors) Returns aSnippet
that will document the fields of the subsection of API operations's request payload extracted by the givensubsectionExtractor
.