mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-09 14:44:51 +03:00
Show examples in objects.
This commit is contained in:
parent
69c3dce883
commit
f0e08f4e8e
|
@ -63,7 +63,7 @@ export class ObjectSchema extends React.Component<ObjectSchemaProps> {
|
||||||
undefined
|
undefined
|
||||||
}
|
}
|
||||||
className={field.expanded ? 'expanded' : undefined}
|
className={field.expanded ? 'expanded' : undefined}
|
||||||
showExamples={false}
|
showExamples={true}
|
||||||
skipReadOnly={this.props.skipReadOnly}
|
skipReadOnly={this.props.skipReadOnly}
|
||||||
skipWriteOnly={this.props.skipWriteOnly}
|
skipWriteOnly={this.props.skipWriteOnly}
|
||||||
showTitle={this.props.showTitle}
|
showTitle={this.props.showTitle}
|
||||||
|
|
|
@ -51,7 +51,7 @@ exports[`Components SchemaView discriminator should correctly render discriminat
|
||||||
}
|
}
|
||||||
isLast={false}
|
isLast={false}
|
||||||
key="packSize"
|
key="packSize"
|
||||||
showExamples={false}
|
showExamples={true}
|
||||||
/>
|
/>
|
||||||
<Field
|
<Field
|
||||||
field={
|
field={
|
||||||
|
@ -102,7 +102,7 @@ exports[`Components SchemaView discriminator should correctly render discriminat
|
||||||
isLast={true}
|
isLast={true}
|
||||||
key="type"
|
key="type"
|
||||||
renderDiscriminatorSwitch={[Function]}
|
renderDiscriminatorSwitch={[Function]}
|
||||||
showExamples={false}
|
showExamples={true}
|
||||||
/>
|
/>
|
||||||
</tbody>
|
</tbody>
|
||||||
</styled.table>
|
</styled.table>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user