diff --git a/app/views/partials/json-schema/datatype.hbs b/app/views/partials/json-schema/datatype.hbs index 2cce97e7..00ba83fa 100644 --- a/app/views/partials/json-schema/datatype.hbs +++ b/app/views/partials/json-schema/datatype.hbs @@ -23,9 +23,9 @@ {{~/if~}} {{!-- Enum values --}} -{{~#if enum}} +{{~#if items.enum}} - {{#each enum}} + {{#each items.enum}} {{! Render enums in the descriminator as links to the appropriate definitions}} {{~#if ../discriminator}} {{.}}