Files
swagger-ui/src/main/template/param_readonly.handlebars
T
Alberto Pose 9687a8084f Adding 'snippet' tab to parameter datatype signature UI
This new section displays how a complex datatype should look like providing some sample code for the developer using Swagger.
2012-11-14 17:33:51 -03:00

11 lines
289 B
Handlebars

<td class='code'>{{name}}</td>
<td>
{{#if isBody}}
<textarea class='body-textarea' readonly='readonly' name='{{name}}'>{{defaultValue}}</textarea>
{{else}}
{{defaultValue}}
{{/if}}
</td>
<td>{{{description}}}</td>
<td><span class="model-signature"></span></td>