-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Comments
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 |
I tried the develop_2.0 branch, and the NPE is now happening at line 225 of SwappgerCompatConverer.java. |
Seems like it's related to another project: https://github.com/swagger-api/swagger-parser/blob/09747b5ee07befb4d4c5e182b20b09025d5739a1/modules/swagger-compat-spec-parser/src/main/java/io/swagger/parser/SwaggerCompatConverter.java I would recommend you to open an issue in https://github.com/swagger-api/swagger-parser |
Ok, will do. Thanks! |
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
The text was updated successfully, but these errors were encountered: