Example usage for org.springframework.restdocs.hypermedia HypermediaDocumentation links

List of usage examples for org.springframework.restdocs.hypermedia HypermediaDocumentation links

Introduction

In this page you can find the example usage for org.springframework.restdocs.hypermedia HypermediaDocumentation links.

Prototype

public static LinksSnippet links(List<LinkDescriptor> descriptors) 

Source Link

Document

Returns a new Snippet that will document the links in the API operation's response.

Usage

From source file:io.pivotal.strepsirrhini.chaosloris.docs.DocumentationUtilities.java

static LinksSnippet links(LinkDescriptor... descriptors) {
    return HypermediaDocumentation.links(linkWithRel("self").ignored()).and(descriptors);
}