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

Generated output stays empty #1547

Open
Mailaender opened this issue Jul 27, 2023 · 1 comment
Open

Generated output stays empty #1547

Mailaender opened this issue Jul 27, 2023 · 1 comment

Comments

@Mailaender
Copy link

http://purl.allotrope.org/json-schemas/adm/core/REC/2022/12/core.schema generates no files at all. No error message is displayed. I wonder what is wrong about it.

@unkish
Copy link
Collaborator

unkish commented Jul 28, 2023

Hi

Based on schema I believe there are 2 things at play:

  1. at present jsonschema2pojo does not process items from definitions/$defs unless they're being referenced, please see: Please create objects in the definition section to be used #1123
  2. at presnet neither allOf/anyOf nor oneOf are supported (thus if N1 would be fixed some of the items still wouldn't be processed), please see: Feasibility of using oneOf, anyOf or allOf in schema for jsonschema2pojo. #831

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

No branches or pull requests

2 participants