Graham Esau
|
9e507272da
|
Process validation attributes in tuple structs
|
2021-04-16 13:56:26 +01:00 |
|
Graham Esau
|
31a5893d10
|
Process validation attributes in newtype structs
|
2021-04-16 12:30:52 +01:00 |
|
Graham Esau
|
60a9869448
|
Refactor out add_schema_as_property
|
2021-04-16 10:42:03 +01:00 |
|
Graham Esau
|
1a2dafc1a5
|
Handle required flattened Option fields
|
2021-04-15 18:11:28 +01:00 |
|
Graham Esau
|
b68132f17d
|
Merge branch 'master' into validate
|
2021-04-15 16:08:10 +01:00 |
|
Graham Esau
|
55b860428e
|
Refactory of private functions
|
2021-04-15 13:34:04 +01:00 |
|
Graham Esau
|
5dc644000c
|
Allow schema_with attr on enum variants
|
2021-04-10 15:16:16 +01:00 |
|
Graham Esau
|
2d38db903a
|
Only process "crate" from schemars attr, not serde attr
|
2021-04-10 14:48:39 +01:00 |
|
Graham Esau
|
6d174a2efb
|
Add "crate" to attribute docs ToC
|
2021-04-05 21:21:26 +01:00 |
|
Graham Esau
|
86e2844c93
|
v0.8.3
|
2021-04-05 21:12:23 +01:00 |
|
Graham Esau
|
b4a6aeb51b
|
Update changelog
|
2021-04-05 21:08:26 +01:00 |
|
Graham Esau
|
9e2ba85772
|
Also implement JsonSchema for BytesMut
|
2021-04-05 21:02:49 +01:00 |
|
Daniel Hahne
|
0e3938798f
|
Support Bytes (#68)
|
2021-04-05 21:02:32 +01:00 |
|
Graham Esau
|
9c68e080d6
|
Remove extraneous "and" from tuple schema names
|
2021-04-05 20:47:03 +01:00 |
|
Graham Esau
|
b2b733ba5c
|
Support for #[schemars(crate = "...")] (#80)
|
2021-04-05 19:34:28 +01:00 |
|
Graham Esau
|
ebd7ff32ce
|
More fixes for deriving JsonSchema inside macro
|
2021-04-05 16:40:20 +01:00 |
|
Graham Esau
|
4d3400152e
|
Fix deriving JsonSchema inside macro (#79)
|
2021-04-05 16:15:34 +01:00 |
|
Graham Esau
|
6ab567f3a5
|
Read #[validate(...)] attributes
|
2021-03-29 16:38:55 +01:00 |
|
Graham Esau
|
dada8582ee
|
Fix rustc 1.37 build
|
2021-03-27 10:34:39 +00:00 |
|
Graham Esau
|
29dc025629
|
Clippy fixes
|
2021-03-27 00:45:06 +00:00 |
|
Graham Esau
|
61d64df57d
|
v0.8.2
|
2021-03-27 00:04:07 +00:00 |
|
Graham Esau
|
4c238605be
|
Update changelog
|
2021-03-26 23:07:01 +00:00 |
|
Graham Esau
|
ce4946afc1
|
Remove unnecessary macro usage
|
2021-03-26 23:00:20 +00:00 |
|
Alastair Feille
|
f0836d4415
|
Implement JsonSchema on Url
|
2021-03-26 23:00:20 +00:00 |
|
Graham Esau
|
3a2b425998
|
Make docs examples a tiny bit prettier
|
2021-03-25 22:56:25 +00:00 |
|
Graham Esau
|
93435d519a
|
Update docs
|
2021-03-25 22:51:51 +00:00 |
|
Graham Esau
|
cb26e783dc
|
Update changelog
|
2021-03-25 22:40:11 +00:00 |
|
Graham Esau
|
11d95b79e5
|
Derive JsonSchema_repr (#76)
|
2021-03-25 22:36:28 +00:00 |
|
Graham Esau
|
7de2b2276f
|
Prepare to update docs for schema_for_value!
|
2021-03-25 22:15:12 +00:00 |
|
Graham Esau
|
c6588a3596
|
Update examples
|
2021-03-25 20:03:16 +00:00 |
|
Graham Esau
|
04996efeb3
|
Don't include number format in schema for value
Guessing the format for serde_json::Number can be very misleading, so let's not
|
2021-03-25 19:47:36 +00:00 |
|
Graham Esau
|
9b71b428cb
|
Update changelog
|
2021-03-25 18:43:18 +00:00 |
|
Graham Esau
|
f6482fd460
|
Generate schema from any serializable value (#75)
Implement schema_for_value!(...) macro
|
2021-03-25 18:32:28 +00:00 |
|
Graham Esau
|
0957204bc1
|
Fix CI
|
2021-03-25 17:36:02 +00:00 |
|
Graham Esau
|
c135fb41aa
|
Don't run trybuild tests on rustc 1.37
|
2021-03-25 17:30:28 +00:00 |
|
Graham Esau
|
b502a04ab8
|
v0.8.1
|
2021-03-23 20:18:20 +00:00 |
|
Graham Esau
|
32b3f77bf7
|
Implement JsonSchema for slices
|
2021-03-23 11:06:16 +00:00 |
|
Graham Esau
|
7bcd6a2a65
|
Ensure pending_schema_names is always cleaned up
|
2021-03-21 21:47:46 +00:00 |
|
Graham Esau
|
803c47bab3
|
Update examples (changed due to 6a3bba1e )
|
2021-03-21 21:25:13 +00:00 |
|
Graham Esau
|
77c7aa9beb
|
Update changelog
|
2021-03-21 20:27:38 +00:00 |
|
Graham Esau
|
1017506ce6
|
Prevent stack overflow when using inline_subschemas
|
2021-03-21 20:27:38 +00:00 |
|
Jan Michael Auer
|
d85eec3b7a
|
Fix clippy field_reassign_with_default in generated code (#65)
|
2021-03-21 18:31:58 +00:00 |
|
Alastair Feille
|
addac6d386
|
Make HashSet and BTreeSet use the uniqueItems keyword in their schema (#64)
Co-authored-by: Graham Esau <gesau@hotmail.co.uk>
|
2021-03-21 14:43:58 +00:00 |
|
David Hotham
|
c4ef7bad22
|
Fix #[schemars(with = ...)] alongside #[serde(transparent)] (#67)
Co-authored-by: Graham Esau <gesau@hotmail.co.uk>
|
2021-03-21 13:56:24 +00:00 |
|
Graham Esau
|
1c9ecafd32
|
Bump MSRV to 1.37
|
2021-03-21 13:25:55 +00:00 |
|
Graham Esau
|
94d75378f6
|
Add SchemaGenerator::definitions_mut()
|
2021-03-20 22:20:58 +00:00 |
|
Graham Esau
|
6a3bba1e86
|
Set additionalProperties to false on enums where appropriate
|
2021-03-20 18:45:29 +00:00 |
|
Graham Esau
|
3a7d7ad905
|
Apply some clippy suggestions
|
2021-03-19 23:20:16 +00:00 |
|
Graham Esau
|
b8c548136a
|
Fix styling of docs site
Pin version of just-the-docs so it doesn't change itself again!
|
2020-09-27 12:23:28 +01:00 |
|
Graham Esau
|
755368fc3a
|
v0.8.0
|
2020-09-27 10:58:51 +01:00 |
|