java.lang.RuntimeException: Could not process model 'Vehicle'.Please make sure that your schema is correct!

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.RuntimeException: Could not process model 'Vehicle'.Please make sure that your schema is correct! at io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:297) at io.swagger.codegen.cmd.Generate.run(Generate.java:223) at io.swagger.codegen.SwaggerCodegen.main(SwaggerCodegen.java:36) Caused by: java.lang.RuntimeException: Break (reserved word) cannot be used as a model name at io.swagger.codegen.languages.DartClientCodegen.toModelName(DartClientCodegen.java:212) at io.swagger.codegen.languages.DartClientCodegen.getSwaggerType(DartClientCodegen.java:267)
    No Bugmate found.