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

JSONSchema implementation #153

Closed
cab404 opened this issue May 10, 2022 · 1 comment · Fixed by #155
Closed

JSONSchema implementation #153

cab404 opened this issue May 10, 2022 · 1 comment · Fixed by #155

Comments

@cab404
Copy link

cab404 commented May 10, 2022

Hi there!
I was trying to make a json schema for wg-bond (via schemars), and got stuck on missing implementation for IpNetwork. Can I add implementation of JsonSchema for your stuff in your crate?

@achanda
Copy link
Owner

achanda commented May 10, 2022

HI, @cab404 please feel free to add a JsonSchema implementation. Thank you!

sancho20021 added a commit to sancho20021/ipnetwork that referenced this issue May 31, 2022
Problem: No instance of `JSONSchema` is implemented for
`IpNetwork`.

Solution: Derive implementation via `schemars`. Add corresponding
feature to the crate.
achanda added a commit that referenced this issue May 31, 2022
[#153] Add optional JSONSchema implementation for IpNetwork
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

Successfully merging a pull request may close this issue.

2 participants