Skip to content

Commit

Permalink
Merge pull request #5 from AlexElin/#1_allowableValues
Browse files Browse the repository at this point in the history
support for allowableValues
  • Loading branch information
kongchen committed Jun 30, 2016
2 parents 33a41f9 + e203142 commit 76cfe83
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion v3.0/operation.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@
<th>{{name}}</th>
<td>{{in}}</td>
<td>{{#if required}}yes{{else}}no{{/if}}</td>
<td>{{description}}{{#if pattern}} (**Pattern**: `{{pattern}}`){{/if}}</td>
<td>
{{description}}{{#if pattern}} (**Pattern**: `{{pattern}}`){{/if}}
{{#if enum}}
<p>
<b>Allowable values</b>: {{#join enum ", "}} {{this}}{{/join}}
</p>
{{/if}}
</td>
<td>{{#if defaultValue}}{{defaultValue}}{{else}} - {{/if}}</td>
{{#ifeq in "body"}}
<td>
Expand Down

0 comments on commit 76cfe83

Please sign in to comment.