mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-08 05:50:34 +03:00
In go-swagger, the name of the tag determines the directory that generated files end up in. Also, we want the tag names to be consistent with operationIds. Unfortunately, these make bad names for menu items, so we want to have a way of specifying human-friendly names for the menu.
11 lines
631 B
HTML
11 lines
631 B
HTML
<div class="methods">
|
|
<div class="tag" *ngFor="let tag of tags;let catIdx = index; trackBy:trackByTagName">
|
|
<div class="tag-info" [attr.section]="tag.id" *ngIf="!tag.headless">
|
|
<h1 class="sharable-header"> <a class="share-link" href="#{{tag.id}}"></a>{{tag.name}} </h1>
|
|
<p *ngIf="tag.description" [innerHtml]="tag.description | marked"> </p>
|
|
</div>
|
|
<method *lazyFor="let method of tag.methods;let show = show;" [hidden]="!show" [pointer]="method.pointer" [attr.pointer]="method.pointer"
|
|
[attr.section]="method.tag" [tag]="method.tag" [attr.operation-id]="method.operationId"></method>
|
|
</div>
|
|
</div>
|