mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-07 21:54:53 +03:00
VD-151: Show examples
This commit is contained in:
parent
a90c32e12a
commit
a084f3a041
|
@ -69,7 +69,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