You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace the default definition with the one provided above.
Wait 1 minute.
Expected behavior
No exceptions in console.
Actual behavior
Uncaught (in promise) TypeError: Cannot read property 'toLowerCase' of undefined
at helpers.js:42
at Array.find (<anonymous>)
at helpers.js:42
at Array.forEach (<anonymous>)
at tn (helpers.js:37)
at paths.js:37
at u (runtime.js:45)
at Generator._invoke (runtime.js:271)
at Generator.forEach.e.<computed> [as next] (runtime.js:97)
at i (asyncToGenerator.js:5)
Screenshots
Additional context or thoughts
n/a
The text was updated successfully, but these errors were encountered:
Q&A (please complete the following information)
Content & configuration
Describe the bug you're encountering
During semantic validation, this line
https://github.com/ralphdoe/swagger-editor/blob/master/src/plugins/validate-semantic/validators/helpers.js#L42
tries to convert the parameter name to lower case. But if the parameter has no
name
, thentoLowerCase()
will raise an exception.PR: #2162
To reproduce...
Expected behavior
No exceptions in console.
Actual behavior
Screenshots
Additional context or thoughts
n/a
The text was updated successfully, but these errors were encountered: