Fix name of self rel in reference documentation
Closes gh-449
This commit is contained in:
committed by
Andy Wilkinson
parent
90c3549f55
commit
92b6268da4
@@ -26,7 +26,7 @@ public class Hypermedia {
|
||||
|
||||
// tag::ignore-links[]
|
||||
public static LinksSnippet links(LinkDescriptor... descriptors) {
|
||||
return HypermediaDocumentation.links(linkWithRel("_self").ignored().optional(),
|
||||
return HypermediaDocumentation.links(linkWithRel("self").ignored().optional(),
|
||||
linkWithRel("curies").ignored()).and(descriptors);
|
||||
}
|
||||
// end::ignore-links[]
|
||||
|
||||
Reference in New Issue
Block a user