joelittlejohn / jsonschema2pojo

Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
http://www.jsonschema2pojo.org
Apache License 2.0
6.24k stars 1.66k forks source link

No code generation for valid JSON schema, no error output #1640

Open rvullriede opened 3 weeks ago

rvullriede commented 3 weeks ago

Install latest version:

brew install jsonschema2pojo

check version:

jsonschema2pojo -v jsonschema2pojo version 1.2.2

try to generate code for https://adaptivecards.io/:

jsonschema2pojo --source http://adaptivecards.io/schemas/adaptive-card.json --target java-gen -log trace

The online output I get is:

Reading schema: http://adaptivecards.io/schemas/adaptive-card.json

No additional info is logged, no files are generated.

Same result when I use the maven plugin.

unkish commented 3 weeks ago

Hi

It looks like a duplicate of #1547 thus following comment there is also applicable to given case.