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
While invoking the swagger ui index.html page, the following error is shown in the browser console. "Uncaught TypeError: Cannot read property 'toLowerCase' of undefined"
We are using chrome browser version 47.0.2526.111 m.
We also noticed that this error does not occur for QueryParam data types like string or integer. However, here we require a boolean data type and hence, we are unable to generate the document.
The text was updated successfully, but these errors were encountered:
Thanks for your prompt response. However, the issue was solved as we were missing the @QueryParam in the implementation. The annotation was only given at the interface level.
Note that since Boolean is a wrapper class, the annotation was required at both interface as well as implementation.
Using swagger-ui version 2.1.4 and io.swagger version 1.5.6, we are trying to generate the swagger doc for the following REST API:
While invoking the swagger ui index.html page, the following error is shown in the browser console. "Uncaught TypeError: Cannot read property 'toLowerCase' of undefined"
We are using chrome browser version 47.0.2526.111 m.
We also noticed that this error does not occur for QueryParam data types like string or integer. However, here we require a boolean data type and hence, we are unable to generate the document.
The text was updated successfully, but these errors were encountered: