Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java enum ACTIVE is not a class #351

Open
LiuJingQiang opened this issue Apr 8, 2024 · 0 comments
Open

Java enum ACTIVE is not a class #351

LiuJingQiang opened this issue Apr 8, 2024 · 0 comments
Assignees
Labels

Comments

@LiuJingQiang
Copy link

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:

  • jsonschema version
  • scala version

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants