We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b270f82 commit d71ab90Copy full SHA for d71ab90
1 file changed
endpoints/Endpoint.ts
@@ -150,8 +150,8 @@ export class Endpoint {
150
* Registers a default link template for a specific relation type.
151
* This template is used when no template with this relation type is provided by the server.
152
* This should only be called during initial setup of the endpoint.
153
- * @param rel
154
- * @param href
+ * @param rel The relation type of the link to add.
+ * @param href The templates href relative to this endpoint's URI. Leave unspecified to remove any previous entries for the relation type.
155
*/
156
setDefaultLinkTemplate(rel: string, href?: string) {
157
if (href) {
0 commit comments