mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-25 18:13:44 +03:00
fix: sanitize array of items (#1920)
This commit is contained in:
parent
1672d4599b
commit
059bd8000e
|
@ -11,7 +11,7 @@ export function ArrayItemDetails({ schema }: { schema: SchemaModel }) {
|
||||||
return (
|
return (
|
||||||
<Wrapper>
|
<Wrapper>
|
||||||
[ items
|
[ items
|
||||||
{schema.displayFormat && <TypeFormat>{` <${schema.displayFormat}> `}</TypeFormat>}
|
{schema.displayFormat && <TypeFormat> <{schema.displayFormat} ></TypeFormat>}
|
||||||
<ConstraintsView constraints={schema.constraints} />
|
<ConstraintsView constraints={schema.constraints} />
|
||||||
<Pattern schema={schema} />
|
<Pattern schema={schema} />
|
||||||
{schema.items && <ArrayItemDetails schema={schema.items} />} ]
|
{schema.items && <ArrayItemDetails schema={schema.items} />} ]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user