Skip to content

Commit

Permalink
fix: fix anchor links accidentally broken
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Mar 29, 2017
1 parent d52c7ef commit 2d7d4d3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/components/Method/method.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ interface MethodInfo {
description: string;
};
bodyParam: any;
summary: any;
anchor: any;
externalDocs: {
summary: string;
anchor: string;
externalDocs?: {
url: string;
description?: string;
}
Expand Down Expand Up @@ -60,8 +60,8 @@ export class Method extends BaseComponent implements OnInit {
};
}

buildAnchor() {
this.menu.hashFor(this.pointer,
buildAnchor():string {
return this.menu.hashFor(this.pointer,
{ type: 'method', operationId: this.operationId, pointer: this.pointer },
this.parentTagId );
}
Expand Down

0 comments on commit 2d7d4d3

Please sign in to comment.