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 cba7d90 commit 5b82fceCopy full SHA for 5b82fce
src/ExampleGenerator.js
@@ -717,7 +717,7 @@ export class ExampleGenerator extends AmfHelperMixin(Object) {
717
if (result.hasTitle) {
718
result.title = title;
719
}
720
- if (opts.rawOnly && (raw !== null || raw !== undefined)) {
+ if (opts.rawOnly && (raw === null || raw === undefined)) {
721
return undefined;
722
723
if (opts.rawOnly) {
0 commit comments