-
Notifications
You must be signed in to change notification settings - Fork 24
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
Generator fails with NPE #48
Comments
@aSapien Seems like the spec contains validation errors:
After the spec has been updated to address the validation issue, you may also want to try OpenAPI Generator to generate the clients, e.g.
|
Try with swagger-codegen |
It should be fixed on #53 :P |
Steps to reproduce:
Run
swagger-codegen generate -i https://raw.githubusercontent.com/opsgenie/opsgenie-oas/master/swagger.json -l scala -o ./ogswagger/
Result:
Outputs the content of
swagger.json
to stdout and appends the following at the end:I've tried using the same config as in the pom.xml with the following command, but got the same result:
swagger-codegen generate -c ./config.json --invoker-package com.opsgenie.oas.sdk --api-package com.opsgenie.oas.sdk.api --model-package com.opsgenie.oas.sdk.model -i ./swagger.json -l scala --output ./
Please assist 🙏
The text was updated successfully, but these errors were encountered: