java.lang.RuntimeException

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.

  • GitHub comment 3846#254470180
    via GitHub by karussell
    ,
  • GitHub comment 1318#145806991
    via GitHub by dolmen
    ,
    • java.lang.RuntimeException: Could not process model 'Break'.Please make sure that your schema is correct! at io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:298) at io.swagger.codegen.cmd.Generate.run(Generate.java:223) at io.swagger.codegen.SwaggerCodegen.main(SwaggerCodegen.java:41) Caused by: java.lang.RuntimeException: Break (reserved word) cannot be used as a model name at io.swagger.codegen.languages.SinatraServerCodegen.toModelFilename(SinatraServerCodegen.java:198) at io.swagger.codegen.DefaultCodegen.fromModel(DefaultCodegen.java:1214) at io.swagger.codegen.DefaultGenerator.processModels(DefaultGenerator.java:887) at io.swagger.codegen.DefaultGenerator.generate(DefaultGenerator.java:291) ... 2 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,