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

Add pretty-print option to JSON generation #11

Closed
cjelger opened this issue Dec 17, 2018 · 2 comments
Closed

Add pretty-print option to JSON generation #11

cjelger opened this issue Dec 17, 2018 · 2 comments

Comments

@cjelger
Copy link
Contributor

cjelger commented Dec 17, 2018

It would be nice to have an option to generate a "pretty-printed" JSON schema. The current JSON schema is nicely compact but it's unreadable by humans.

It should be straightforward to add the option and the SerializationFeature.INDENT_OUTPUT configuration to the Jackson mapper.

@cjelger
Copy link
Contributor Author

cjelger commented Dec 18, 2018

I already have a ready PR for this feature, but I'm waiting for some official approval from my employer to be able to commit it.

langecode added a commit that referenced this issue Dec 19, 2018
#11 - Added a "prettyPrint" option to maven plugin to generate …
@langecode
Copy link
Member

Resolved with PR #13

langecode pushed a commit that referenced this issue Apr 5, 2021
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