public class LinkDescriptor extends Object
HypermediaDocumentation.linkWithRel(String)
Modifier and Type | Method and Description |
---|---|
LinkDescriptor |
description(String description)
Specifies the description of the link
|
LinkDescriptor |
optional()
Marks the link as optional
|
public LinkDescriptor description(String description)
description
- The link's descriptionthis
public LinkDescriptor optional()
this