Uses of Class
org.springframework.restdocs.hypermedia.LinksSnippet
Package
Description
Documenting a RESTful API that uses hypermedia.
-
Uses of LinksSnippet in org.springframework.restdocs.hypermedia
Modifier and TypeMethodDescriptionfinal LinksSnippet
LinksSnippet.and
(List<LinkDescriptor> additionalDescriptors) Returns a newLinksSnippet
configured with this snippet's link extractor and attributes, and its descriptors combined with the givenadditionalDescriptors
.final LinksSnippet
LinksSnippet.and
(LinkDescriptor... additionalDescriptors) Returns a newLinksSnippet
configured with this snippet's link extractor and attributes, and its descriptors combined with the givenadditionalDescriptors
.static LinksSnippet
HypermediaDocumentation.links
(List<LinkDescriptor> descriptors) Returns a newSnippet
that will document the links in the API operation's response.static LinksSnippet
Returns a newSnippet
that will document the links in the API call's response.static LinksSnippet
HypermediaDocumentation.links
(Map<String, Object> attributes, LinkDescriptor... descriptors) Returns a newSnippet
that will document the links in the API call's response.static LinksSnippet
HypermediaDocumentation.links
(LinkDescriptor... descriptors) Returns a newSnippet
that will document the links in the API operation's response.static LinksSnippet
HypermediaDocumentation.links
(LinkExtractor linkExtractor, List<LinkDescriptor> descriptors) Returns a newSnippet
that will document the links in the API operation's response.static LinksSnippet
HypermediaDocumentation.links
(LinkExtractor linkExtractor, Map<String, Object> attributes, List<LinkDescriptor> descriptors) Returns a newSnippet
that will document the links in the API operation's response.static LinksSnippet
HypermediaDocumentation.links
(LinkExtractor linkExtractor, Map<String, Object> attributes, LinkDescriptor... descriptors) Returns a newSnippet
that will document the links in the API operation's response.static LinksSnippet
HypermediaDocumentation.links
(LinkExtractor linkExtractor, LinkDescriptor... descriptors) Returns a newSnippet
that will document the links in the API operation's response.static LinksSnippet
HypermediaDocumentation.relaxedLinks
(List<LinkDescriptor> descriptors) Returns a newSnippet
that will document the links in the API operation's response.static LinksSnippet
HypermediaDocumentation.relaxedLinks
(Map<String, Object> attributes, List<LinkDescriptor> descriptors) Returns a newSnippet
that will document the links in the API call's response.static LinksSnippet
HypermediaDocumentation.relaxedLinks
(Map<String, Object> attributes, LinkDescriptor... descriptors) Returns a newSnippet
that will document the links in the API call's response.static LinksSnippet
HypermediaDocumentation.relaxedLinks
(LinkDescriptor... descriptors) Returns a newSnippet
that will document the links in the API operation's response.static LinksSnippet
HypermediaDocumentation.relaxedLinks
(LinkExtractor linkExtractor, List<LinkDescriptor> descriptors) Returns a newSnippet
that will document the links in the API operation's response.static LinksSnippet
HypermediaDocumentation.relaxedLinks
(LinkExtractor linkExtractor, Map<String, Object> attributes, List<LinkDescriptor> descriptors) Returns a newSnippet
that will document the links in the API operation's response.static LinksSnippet
HypermediaDocumentation.relaxedLinks
(LinkExtractor linkExtractor, Map<String, Object> attributes, LinkDescriptor... descriptors) Returns a newSnippet
that will document the links in the API operation's response.static LinksSnippet
HypermediaDocumentation.relaxedLinks
(LinkExtractor linkExtractor, LinkDescriptor... descriptors) Returns a newSnippet
that will document the links in the API operation's response.