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 d2752d5 commit 2a393cbCopy full SHA for 2a393cb
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) && typeof paths[path] === 'object') {
+ if (paths.hasOwnProperty(path) && paths[path] && typeof paths[path] === 'object') {
638
currentPathObject = paths[path];
639
640
// discard the leading slash, if it exists
0 commit comments