Skip to content

Commit a6150b6

Browse files
committed
Add deprecated support for schemas
1 parent d61afe4 commit a6150b6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

templates/markdown/.partials/schema-prop.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<tr>
2-
<td>{{tree path}}{{propName}} {{#if required}}<strong>(required)</strong>{{/if}}</td>
2+
<td>
3+
{{#if prop.deprecated}}<s>{{tree path}}{{propName}}</s> (deprecated){{else}}{{tree path}}{{propName}}{{/if}}
4+
{{#if required}}<strong>(required)</strong>{{/if}}
5+
</td>
36
<td>
47
{{prop.type}}
58
{{~#if prop.anyOf}}anyOf{{~/if}}

0 commit comments

Comments
 (0)