Uses of Class
org.springframework.restdocs.payload.RequestPartBodySnippet
Packages that use RequestPartBodySnippet
Package
Description
Documenting the payload of a RESTful API's requests and responses.
-
Uses of RequestPartBodySnippet in org.springframework.restdocs.payload
Methods in org.springframework.restdocs.payload that return RequestPartBodySnippetModifier and TypeMethodDescriptionstatic RequestPartBodySnippetPayloadDocumentation.requestPartBody(String partName) Returns aSnippetthat will document the body of specified part of the API operation's request payload.static RequestPartBodySnippetPayloadDocumentation.requestPartBody(String partName, Map<String, Object> attributes) Returns aSnippetthat will document the body of specified part of the API operation's request payload.static RequestPartBodySnippetPayloadDocumentation.requestPartBody(String partName, PayloadSubsectionExtractor<?> subsectionExtractor) Returns aSnippetthat will document a subsection of the body of specified part of the API operation's request payload.static RequestPartBodySnippetPayloadDocumentation.requestPartBody(String partName, PayloadSubsectionExtractor<?> subsectionExtractor, Map<String, Object> attributes) Returns aSnippetthat will document a subsection of the body of specified part of the API operation's request payload.