Skip to content

NullPointerException Thrown When Parsing Spec from marvel.com #698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
brintoul opened this issue Apr 28, 2015 · 4 comments
Closed

NullPointerException Thrown When Parsing Spec from marvel.com #698

brintoul opened this issue Apr 28, 2015 · 4 comments

Comments

@brintoul
Copy link

Running:
java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate -v -i http://gateway.marvel.com/docs -l java -o samples/java/marvel

results in an NPE at line 230 of SwaggerCompatConverter.java

@wing328
Copy link
Contributor

wing328 commented Apr 29, 2015

The Marvel Swagger spec version is 1.0, which should still be supported according to https://github.com/swagger-api/swagger-codegen#compatability

I would recommend you to try the branch develop_2.0 to see if the issue persists.

@brintoul
Copy link
Author

I tried the develop_2.0 branch, and the NPE is now happening at line 225 of SwappgerCompatConverer.java.

@brintoul
Copy link
Author

Ok, will do. Thanks!

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

No branches or pull requests

2 participants