Skip to content
This repository has been archived by the owner on Nov 11, 2017. It is now read-only.

Uncaught TypeError: Object [..] has no method 'getMockSignature' swagger.js:349 #57

Open
jakub-bochenski opened this issue Nov 12, 2013 · 2 comments

Comments

@jakub-bochenski
Copy link

I tried generating the swagger documentation with both 0.2 and 0.3-SNAPSHOT.

I always get:

Uncaught TypeError: Object function Object() { [native code] } has no method 'getMockSignature' swagger.js:349
SwaggerModel.getMockSignature swagger.js:349
SwaggerModel.getMockSignature swagger.js:349
SwaggerModel.getMockSignature swagger.js:349
SwaggerOperation.getSignature swagger.js:533
SwaggerOperation swagger.js:482
SwaggerResource.addOperations swagger.js:272
(anonymous function) swagger.js:230
k jquery-1.8.0.min.js:2
l.fireWith jquery-1.8.0.min.js:2
y jquery-1.8.0.min.js:2
d jquery-1.8.0.min.js:2

@bleshik
Copy link
Contributor

bleshik commented Nov 16, 2013

I got the same error. It is connected with generics if I'm right.

@machaba
Copy link

machaba commented Jun 16, 2014

I get the same issue. In my case, the JAX-RS method returns a model that uses generics, so I agree that it is probably connected with generics.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants