You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/layouts/partials/api-resource.hbs
+27-1Lines changed: 27 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,33 @@ This object has no properties.
48
48
{{/each}}
49
49
{{/if}}
50
50
{{/unless}}
51
-
{{#iflistProperties}}
51
+
{{#ifdiscriminatorVariants}}
52
+
{{#ifdiscriminatorVariants.length}}
53
+
54
+
The items in this list are objects. The specific structure of each object depends on the value of its `{{discriminator}}` field. Each object will be one of the following variants:
55
+
{% tabs %}
56
+
{{#eachdiscriminatorVariants}}
57
+
{% tab title="{{this.name}}" %}
58
+
{{#ifthis.description}}
59
+
60
+
{{this.description}}
61
+
{{/if}}
62
+
{{#ifthis.properties.length}}
63
+
64
+
Variant Properties:
65
+
{{#eachthis.properties}}
66
+
67
+
{{>property-collapsiblethis}}
68
+
{{/each}}
69
+
{{else}}
70
+
71
+
This variant has no additional specific properties.
0 commit comments