Swagger Feature issue

Hi Demis,

I’m trying to get the Swagger Feature working with 4.5.5 but the JavaScript UI code throws an error:

Uncaught TypeError: Cannot read property ‘getMockSignature’ of undefined(…) (swagger-client.js:2520)

As far as I can tell all the resource requests succeed and return valid JSON. Nothing out of the ordinary with respect to status codes and content types.

Any idea whether there is something different in the response that might cause this?

Thanks

Nope never seen this error before, the JS error is from the Swagger UI which I’m assuming doesn’t like one of your DTOs, so I’d look at commenting out different service implementations to find out which Service/Request DTOs is causing the issue.

1 Like

OK, thanks. I’ll whip out my debugger and start hunting. Thanks.