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