object model should also show example of schema in info below closing bracket (#6453)
This commit is contained in:
@@ -42,7 +42,7 @@ export default class ObjectModel extends Component {
|
||||
let title = schema.get("title") || displayName || name
|
||||
let requiredProperties = schema.get("required")
|
||||
let infoProperties = schema
|
||||
.filter( ( v, key) => ["maxProperties", "minProperties", "nullable"].indexOf(key) !== -1 )
|
||||
.filter( ( v, key) => ["maxProperties", "minProperties", "nullable", "example"].indexOf(key) !== -1 )
|
||||
let deprecated = schema.get("deprecated")
|
||||
|
||||
const JumpToPath = getComponent("JumpToPath", true)
|
||||
|
||||
Reference in New Issue
Block a user