-
Notifications
You must be signed in to change notification settings - Fork 72
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
Generated schemas are not valid when using rust style names in ref #799
Conversation
0258443
to
ec2a485
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #799 +/- ##
==========================================
+ Coverage 67.34% 67.54% +0.20%
==========================================
Files 40 40
Lines 2468 2499 +31
==========================================
+ Hits 1662 1688 +26
- Misses 806 811 +5 ☔ View full report in Codecov by Sentry. |
ec2a485
to
1956ef6
Compare
I'm not a maintainer of serde-with, just the person who originally wrote the schemars integration. So feel free to ignore this if you want. With that said, it would be really helpful to document this on the |
Hi, thanks for the PR. The change looks fine overall. Adding the extra validation check to the test makes sense. If the names are invalid anyway, then backwards compatability is not a problem. |
I think it needs to be a URI path segment, so it would be defined in RFC 3986 section 3.3. That refers back to section 2 and section 2.2 seems to indicate that all 3 of |
1956ef6
to
98bcdb7
Compare
Thanks for your fast response! I had a mistake in my bug report. There is no problem with the I also extended the doc comment for |
#798