Skip to content

Commit 274b11c

Browse files
committed
fix: show types in allOf types
1 parent fbd576d commit 274b11c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/md/join-type.ejs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#### Condition <%= i+1 %>
2424
<% } %>
2525
26+
<% if (schemas[i].type!=="object") { %>type: `<%= schemas[i].type %>`<% } %>
2627
<% if (schemas[i].type==="string") { %>
2728
<%- include("string-type",{schema:schemas[i],_:_}) %>
2829
<% } else if (schemas[i].type==="number"||schemas[i].type==="integer") { %>
@@ -40,4 +41,4 @@
4041
<% } else { %>
4142
<% } %>
4243
<% } %>
43-
<%- // ejs({hello:"world"}) %>
44+
<%- // ejs({hello:"world"}) %>

0 commit comments

Comments
 (0)