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

Generate data classes for config from JsonSchema #43

Open
lukaszwawrzyk opened this issue Jan 17, 2023 · 1 comment
Open

Generate data classes for config from JsonSchema #43

lukaszwawrzyk opened this issue Jan 17, 2023 · 1 comment
Labels
maintenance Refactoring or tests

Comments

@lukaszwawrzyk
Copy link
Collaborator

We have data classes for config that match json schema that we use for validation. We could consider generating these classes automatically from json schema, for example using this library: https://github.com/pwall567/json-kotlin-schema

@lukaszwawrzyk lukaszwawrzyk added the maintenance Refactoring or tests label Jan 17, 2023
@lukaszwawrzyk
Copy link
Collaborator Author

Maybe it would make more sense to generate json schema from case classes as we have custom datatypes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Refactoring or tests
Projects
None yet
Development

No branches or pull requests

1 participant