swagger-codegen-generators icon indicating copy to clipboard operation
swagger-codegen-generators copied to clipboard

FixNPEOnBadRef - Fix NPE on invalid ref and give useful error

Open jeremydyoung opened this issue 2 years ago • 0 comments

This is to address an issue reported against swagger-codegen: https://github.com/swagger-api/swagger-codegen/issues/12190

I'm not familiar enough with the project to add proper testing to expose the issue, but in the referenced issue I have used an example yaml to manually verify.

Assistance in automating the testing or improving the solution very welcome.

jeremydyoung avatar Jul 28 '23 18:07 jeremydyoung