Skip to content

Commit d71ab90

Browse files
committed
Added missing API docs
1 parent b270f82 commit d71ab90

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

endpoints/Endpoint.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ export class Endpoint {
150150
* Registers a default link template for a specific relation type.
151151
* This template is used when no template with this relation type is provided by the server.
152152
* This should only be called during initial setup of the endpoint.
153-
* @param rel
154-
* @param href
153+
* @param rel The relation type of the link to add.
154+
* @param href The templates href relative to this endpoint's URI. Leave unspecified to remove any previous entries for the relation type.
155155
*/
156156
setDefaultLinkTemplate(rel: string, href?: string) {
157157
if (href) {

0 commit comments

Comments
 (0)