You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there isn't any component defined in the specification, there is a NullPointerException in org.openapitools.codegen.utils.ModelUtils.getUnusedSchemas(OpenAPI)
Exception in thread "main" java.lang.NullPointerException
at org.openapitools.codegen.utils.ModelUtils.getUnusedSchemas(ModelUtils.java:96)
at org.openapitools.codegen.DefaultGenerator.generate(DefaultGenerator.java:781)
at fr.jmini.openapi.openapitools.generator.TestOpenapitoolsCodegenMain.convert(TestOpenapitoolsCodegenMain.java:79)
Description
When there isn't any component defined in the specification, there is a
NullPointerException
inorg.openapitools.codegen.utils.ModelUtils.getUnusedSchemas(OpenAPI)
openapi-generator version
3.0.0-SNAPSHOT
OpenAPI declaration file content or url
The text was updated successfully, but these errors were encountered: