Skip to content

Commit

Permalink
Merge pull request #2 from 2ndWatch/feature/AddExternalDocsLink
Browse files Browse the repository at this point in the history
Add support for externalDocs section
  • Loading branch information
James Connell authored Jul 24, 2017
2 parents 354d297 + 5278197 commit 49b9833
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/views/partials/swagger/introduction.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
</h5>
{{/if}}
{{/if}}

{{#if externalDocs}}
<h5>{{externalDocs.description}}</h5>
<div class="hljs">
<pre><a href="{{externalDocs.url}}">{{externalDocs.url}}</a></pre>
</div>
{{/if}}

<!--
{{#if consumes}}
Expand Down

0 comments on commit 49b9833

Please sign in to comment.