diff --git a/frontend/src/lib/components/SchemaViewer.svelte b/frontend/src/lib/components/SchemaViewer.svelte index 6bb94c611c..a63ff43d02 100644 --- a/frontend/src/lib/components/SchemaViewer.svelte +++ b/frontend/src/lib/components/SchemaViewer.svelte @@ -63,7 +63,11 @@ >{property.format ?? ''} {property.contentEncoding ? `(encoding: ${property.contentEncoding})` : ''} - {schema.required.includes(name) ? 'required' : 'optional'} + {#if schema.required.includes(name)} + * + {/if} {/each}