forked from loafle/openapi-generator-original
Merge pull request #3276 from zhenjun115/issue2499
add more tips about npe;
This commit is contained in:
commit
89741c75f7
@ -284,7 +284,7 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
|
|||||||
allProcessedModels.put(name, models);
|
allProcessedModels.put(name, models);
|
||||||
|
|
||||||
} catch (Exception e) {
|
} 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user