jsonschema2pojo
jsonschema2pojo copied to clipboard
Hi, I'm trying to jsonschema2pojo maven plugin to generate classes from my json schema but classes are not generated eventhough package is created
Could you try setting the sourceType to 'json'? The file you attached doesn't look like a json schema file.
- We have the .yaml file to use for generating pojo. Its in open API Spec format. Git is not allowing us to upload .yaml file hence adding the zip file containing the yaml file attachment here. iciv2.zip
- We tried the sourceType : 'yamlschema' in the maven plugin, when we run the generate-sources, not running into errors, tagert package is created but no classes are generated. Attaching pom.xml screenshot here.
3
Any suggestions would greatly help. Please suggest.
I think maybe you want to use this: https://github.com/OpenAPITools/openapi-generator ?
We don't support OpenAPI specs I'm afraid.