-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: renamve Method to Operation
- Loading branch information
1 parent
36a81ed
commit b9740bf
Showing
36 changed files
with
226 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<div class="operation" *ngIf="operation"> | ||
<div class="operation-content"> | ||
<h2 class="operation-header sharable-header"> | ||
<a class="share-link" href="#{{operation.anchor}}"></a>{{operation.summary}} | ||
</h2> | ||
<div class="operation-tags" *ngIf="operation.info.tags.length"> | ||
<a *ngFor="let tag of operation.info.tags" attr.href="#tag/{{tag}}"> {{tag}} </a> | ||
</div> | ||
<p *ngIf="operation.info.description" class="operation-description" | ||
[innerHtml]="operation.info.description | marked"> | ||
</p> | ||
<redoc-externalDocs [docs]="operation.externalDocs"></redoc-externalDocs> | ||
<params-list pointer="{{pointer}}/parameters"> </params-list> | ||
<responses-list pointer="{{pointer}}/responses"> </responses-list> | ||
</div> | ||
<div class="operation-samples"> | ||
<h4 class="operation-params-subheader">Definition</h4> | ||
|
||
<endpoint-link [verb]="operation.verb" [path]="operation.path"> </endpoint-link> | ||
|
||
<div> | ||
<request-samples [pointer]="pointer" [schemaPointer]="operation.bodyParam?._pointer"> | ||
</request-samples> | ||
</div> | ||
<div> | ||
<br> | ||
<responses-samples pointer="{{pointer}}/responses"> </responses-samples> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
lib/components/MethodsList/methods-list.html → ...nents/OperationsList/operations-list.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<div class="methods"> | ||
<div class="operations"> | ||
<div class="tag" *ngFor="let tag of tags; trackBy:trackByTagName" [attr.section]="tag.id"> | ||
<div class="tag-info" *ngIf="tag.name"> | ||
<h1 class="sharable-header"> <a class="share-link" href="#{{tag.id}}"></a>{{tag.name}} </h1> | ||
<p *ngIf="tag.description" [innerHtml]="tag.description | marked"> </p> | ||
<redoc-externalDocs [docs]="tag.metadata.externalDocs"></redoc-externalDocs> | ||
</div> | ||
<method *lazyFor="let methodItem of tag.items; let ready = ready;" | ||
[hidden]="!ready" [pointer]="methodItem.metadata.pointer" | ||
[parentTagId]="tag.id" [attr.section]="methodItem.id"></method> | ||
<operation *lazyFor="let operation of tag.items; let ready = ready;" | ||
[hidden]="!ready" [pointer]="operation.metadata.pointer" | ||
[parentTagId]="tag.id" [attr.section]="operation.id"></operation> | ||
</div> | ||
</div> |
Oops, something went wrong.