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 8d4d79d commit d2752d5Copy full SHA for d2752d5
lib/schemaUtils.js
@@ -634,7 +634,7 @@ module.exports = {
634
Object.assign(specComponentsAndUtils, concreteUtils.getRequiredData(spec));
635
636
for (path in paths) {
637
- if (paths.hasOwnProperty(path) && (paths[path] !== undefined || paths[path] !== null)) {
+ if (paths.hasOwnProperty(path) && typeof paths[path] === 'object') {
638
currentPathObject = paths[path];
639
640
// discard the leading slash, if it exists
0 commit comments