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

Fix sourceType docs to include YAML/YAMLSCHEMA in Maven, Gradle and Ant #787

Closed
flemming-n-larsen opened this issue Sep 23, 2017 · 4 comments
Milestone

Comments

@flemming-n-larsen
Copy link

I have tried out using YAML schema (issue #778) with the newest version of jsonschema2pojo, and it seems to work perfect. Thanks! :-)
However, the tools for generating Java code is not supporting YAML Schema in version 0.5.0 and 0.5.1. It would be cool, if the Maven, Gradle, and Ant tool support YAML schema as well.
Personally, I use the Maven plugin to generate POJOs from .json files, but should love you use .yaml / .yml files instead.

@joelittlejohn
Copy link
Owner

Hi.

Sorry, could you explain how this is not supported? Are you having trouble using sourceType yaml or yamlschema?

@joelittlejohn
Copy link
Owner

Closing this as I think there's nothing to do. Feel free to re-open if you think I've missed something.

@flemming-n-larsen
Copy link
Author

flemming-n-larsen commented Sep 25, 2017

Thanks. The sourceType works as a charm. I have now converted all my JSON types into YAML types and use the Maven plugin to generate the POJOs for GSON. 👍

However, I am missing your description of the sourceType yamlschema and yaml in the description for the Maven plugin here:
https://joelittlejohn.github.io/jsonschema2pojo/site/0.5.1/generate-mojo.html

The same thing goes for the the sourceType description for the Gradle plugin:
https://github.com/joelittlejohn/jsonschema2pojo/tree/master/jsonschema2pojo-gradle-plugin

@joelittlejohn joelittlejohn changed the title Support for YAML schema in generator tools for Maven, Gradle and Ant Fix sourceType docs to include YAML/YAMLSCHEMA in Maven, Gradle and Ant Sep 26, 2017
@joelittlejohn
Copy link
Owner

Yeah, I must have missed updating the docs here. Thanks!

@joelittlejohn joelittlejohn reopened this Sep 26, 2017
@joelittlejohn joelittlejohn added this to the 0.5.2 milestone Sep 26, 2017
wigbam pushed a commit to wigbam/jsonschema2pojo that referenced this issue Nov 25, 2017
@joelittlejohn joelittlejohn modified the milestones: 0.5.2, 1.0.0-alpha1 Mar 7, 2018
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