Skip to content

Commit 807b296

Browse files
authored
Merge pull request #1054 from swagger-api/gitms12-externalDocs
Added externalDocs rendering for operations
2 parents 4b9e74b + 30b7ae7 commit 807b296

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

templates/operation.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ <h4>Description</h4>
4141
<div marked="operation.description"></div>
4242
</section>
4343

44+
<section class="external-docs" ng-if="operation.externalDocs">
45+
<h4>External Documentation</h4>
46+
<a href="{{operation.externalDocs.url}}" marked="operation.externalDocs.description||'External Documentation'"></a>
47+
</section>
48+
4449
<section class="parameters" ng-if="getParameters().length">
4550
<h4>Parameters</h4>
4651
<div>

0 commit comments

Comments
 (0)