mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-23 06:29:11 +00:00
add more tips about npe;
This commit is contained in:
@@ -284,7 +284,7 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
|
||||
allProcessedModels.put(name, models);
|
||||
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException("Could not process model '" + name + "'", e);
|
||||
throw new RuntimeException("Could not process model '" + name + "'" + ".Please make sure that your schema is correct!", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user