Skip to content

Commit

Permalink
annoation pegjs support schemaJSON fishbar#4
Browse files Browse the repository at this point in the history
  • Loading branch information
baqian committed Jan 27, 2018
1 parent a5af299 commit d0e8e35
Show file tree
Hide file tree
Showing 3 changed files with 1,314 additions and 609 deletions.
4 changes: 2 additions & 2 deletions assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ <h2 id="<%= api.name.value %>"><%= api.name.value %></h2>
<div class="api-addr">
<% api.api.methods.forEach(function (method) { %><span data-type="<%= method %>" class="method"><%= method %></span><% }); %><span class="url"><%= api.api.url %></span> <span class="icon-help">?</span>
</div>
<% if (api.param) { %>
<% if (api.params) { %>
<div class="api-param">
<pre >
<%= JSON.stringify(api.param.value) %>
<%= JSON.stringify(api.params.value) %>
</pre>
</div>
<% } %>
Expand Down
Loading

0 comments on commit d0e8e35

Please sign in to comment.