andyglow / scala-jsonschema

Scala JSON Schema
Other
123 stars 38 forks source link

Java enum ACTIVE is not a class #351

Open LiuJingQiang opened 7 months ago

LiuJingQiang commented 7 months ago

Describe the bug use java enum in case class and using JsonFormatter.format(AsValue.schema(json, Version.Draft04())), the building error is Java enum ACTIVE is not a class . how to resolve it

To Reproduce

Expected behavior can parse java enum in case class

Actual results Inconsistently resulted schema or compilation errors, or other type of exceptions.

Versions:

Additional context Add any other context about the problem here.