We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecbd8c5 commit 6dfa4f1Copy full SHA for 6dfa4f1
src/ExampleGenerator.js
@@ -692,8 +692,14 @@ export class ExampleGenerator extends AmfHelperMixin(Object) {
692
}
693
let title = /** @type {string} */ (this._getValue(
694
example,
695
- this.ns.aml.vocabularies.core.name
696
- ));
+ this.ns.aml.vocabularies.core.displayName
+ ))
697
+ if (!title) {
698
+ title = /** @type {string} */ (this._getValue(
699
+ example,
700
+ this.ns.aml.vocabularies.core.name
701
+ ));
702
+ }
703
if (title && title.indexOf('example_') === 0) {
704
title = undefined;
705
0 commit comments