Skip to content

Commit 2f3ba2d

Browse files
List all discriminator values
1 parent fb37153 commit 2f3ba2d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/layouts/partials/api-resource.hbs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,13 @@ This object has no properties.
5050
{{/unless}}
5151
{{#if discriminatorVariants}}
5252

53-
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:
53+
The items in this list are objects. The specific structure of each object depends on the value of its `{{discriminator}}` field.
54+
The `{{discriminator}}` field can be one of the following values:
55+
{{#each discriminatorVariants}}
56+
- `{{this.name}}`
57+
{{/each}}
58+
59+
Each object will be one of the following variants:
5460
{% tabs %}
5561
{{#each discriminatorVariants}}
5662
{% tab title="{{this.name}}" %}

0 commit comments

Comments
 (0)