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

configuration mapping for custom datatypes #29

Open
hohwille opened this issue Jun 11, 2015 · 0 comments
Open

configuration mapping for custom datatypes #29

hohwille opened this issue Jun 11, 2015 · 0 comments

Comments

@hohwille
Copy link

a well structured data-model makes use of datatypes. In JSON they are hidden away and get regular strings. Still they constraints associated with the datatype are required in the client.
Hence I would expect a feature to configure a mapping such as "io.github.project.type.Email": {"email": {...}" or "io.github.project.type.GermanPostalCode": {"pattern": { "value": "[0-9]{5}"}}.

Without such feature I am using a generic code generator and write templates for the generation myself instead.

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

1 participant