Commit c808ebe6 authored by Jarrod's avatar Jarrod 💬

Update apidoc.ejs

parent b4d79c28
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
...@@ -81,8 +80,9 @@ ...@@ -81,8 +80,9 @@
<table> <table>
<% Object.keys(e.inputs).forEach((input) =>{ %> <% Object.keys(e.inputs).forEach((input) =>{ %>
<tr> <tr>
<th><%= input %></th> <th><%= input %><%- e.inputs[input].required ? '*' : ''%></th>
<td><%= JSON.stringify(e.inputs[input]) %></td> <td><%= e.inputs[input].type %></td>
<td><%= JSON.stringify(_.omit(e.inputs[input], ['type', 'required'])) %></td>
</tr> </tr>
<% }) %> <% }) %>
</table> </table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment