joelittlejohn / jsonschema2pojo

Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc

Home Page:http://www.jsonschema2pojo.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generated output stays empty

Mailaender opened this issue · comments

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.

commented

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: #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: #831