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 e051801 commit 1f9db2bCopy full SHA for 1f9db2b
src/helpers.js
@@ -143,7 +143,7 @@ export function normalizeSwagger(parsedSpec) {
143
// eslint-disable-next-line no-restricted-syntax, guard-for-in
144
for (const method in path) {
145
const operation = path[method];
146
- if (path == null || !['object', 'function'].includes(typeof path)) {
+ if (operation == null || !['object', 'function'].includes(typeof operation)) {
147
continue; // eslint-disable-line no-continue
148
}
149
0 commit comments