Hi, I'm trying to jsonschema2pojo maven plugin to generate classes from my json schema but classes are not generated eventhough package is created
varshape opened this issue · comments
icischema.txt
Attaching schema file. could you please help
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
![maven_pom](https://private-user-images.githubusercontent.com/77936986/248281858-fed7af7b-5287-464f-ab9e-18052de5f2d8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyNzQ0OTEsIm5iZiI6MTcyMDI3NDE5MSwicGF0aCI6Ii83NzkzNjk4Ni8yNDgyODE4NTgtZmVkN2FmN2ItNTI4Ny00NjRmLWFiOWUtMTgwNTJkZTVmMmQ4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA2VDEzNTYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJhMDA5MTYzYjk4MWNiYjNmMTI5ZjYxNDdjYjUwYmVjOTFkNTQ2ZTYxNDM3OGFjMzhhNmU0ODQzZTJlNGQwOWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.qGNigVA9oR5J9UyhyWSiDsDYR1q6TeIUjY0jN0NyqC0)
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.