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

GitHub | karussell | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Several clients break due to model 'break'

    GitHub | 5 months ago | karussell
    java.lang.RuntimeException: Could not process model 'Break'.Please make sure that your schema is correct!

    Root Cause Analysis

    1. java.lang.RuntimeException

      Break (reserved word) cannot be used as a model name

      at io.swagger.codegen.languages.SinatraServerCodegen.toModelName()
    2. io.swagger.codegen
      SinatraServerCodegen.toModelName
      1. io.swagger.codegen.languages.SinatraServerCodegen.toModelName(SinatraServerCodegen.java:185)
      1 frame