Commit graph

237 commits

Author SHA1 Message Date
Graham Esau
c76ea691c7 v0.7.0-alpha-2 2020-02-29 19:39:16 +00:00
Graham Esau
4ad5000232
Make Option<T> fields optional in generated schemas (#16) 2020-02-29 19:37:20 +00:00
Graham Esau
60284fdf93 Ensure json files are have LF line-endings.
"Expected" schema json files are generated by serde_json with LF line-endings, even on windows. Ensure that Git checks them out with LF line-endings to match
2020-02-26 19:17:14 +00:00
Graham Esau
a92638146a Ensure schema.json files are have LF line-endings.
The files are generated by serde_json with LF line-endings, even on windows. Ensure that Git checks them out with LF line-endings to match
2020-02-22 14:07:17 +00:00
Graham Esau
6bebd73701 Add test for allow_ref_siblings behaviour 2019-12-29 22:30:17 +00:00
Graham Esau
58cc7fac25 Run cargo fmt 2019-12-29 22:09:54 +00:00
Graham Esau
98f981634c v0.7.0-alpha-1 2019-12-29 21:53:10 +00:00
Graham Esau
1605a8a34d Small refactor 2019-12-29 18:45:55 +00:00
Graham Esau
0198ede4b6 Add JSON Schema 2019-09 settings 2019-12-29 18:05:10 +00:00
Graham Esau
233b1a4165 Add private field to SchemaSettings to prevent struct initialization.
This means future additions to SchemaSettings will not be breaking changes.
2019-12-29 14:45:23 +00:00
Graham Esau
1963b5c715 v0.6.5 2019-12-29 00:30:36 +00:00
Graham Esau
ec0a01b82b Update optional dependencies docs 2019-12-29 00:28:54 +00:00
Graham Esau
c46873ffb9 Run more CI tests on rust 1.32 2019-12-28 20:43:14 +00:00
Graham Esau
84baf51eb8 Disable github actions CI fail-fast 2019-12-28 20:34:08 +00:00
Graham Esau
d5e035d2cf Do not run tests with --all-features on rust 1.32 2019-12-28 20:31:35 +00:00
Graham Esau
a97d54bcad Implement JsonSchema on smallvec + arrayvec types
Documentation still needs updating.
2019-12-28 20:11:38 +00:00
Graham Esau
aec4824425 Add example for handling custom serialization 2019-12-28 16:45:00 +00:00
Graham Esau
79155cddf5 Add doc comments example 2019-12-28 15:38:41 +00:00
Graham Esau
51a0966ec1 v0.6.4 2019-12-27 22:43:14 +00:00
Graham Esau
008d70e52a Implement JsonSchema on Uuid 2019-12-27 22:41:28 +00:00
Graham Esau
547f81fd67 Update changelog 2019-12-27 22:19:51 +00:00
Graham Esau
fbd019baae Implement JsonSchema on Either 2019-12-27 22:16:01 +00:00
Graham Esau
fd42debc4d Implement JsonSchema on indexmap types 2019-12-27 21:44:50 +00:00
Graham Esau
8d0ccc89db Remove trait bounds from Map/Set JsonSchema impls.
They are unnecessary as we never create/use any instances of these types
2019-12-27 21:18:18 +00:00
Graham Esau
4b9578ec2b v0.6.3 2019-12-27 18:49:25 +00:00
Graham Esau
c9d1f34243 v0.6.2 2019-12-27 18:29:48 +00:00
Graham Esau
39dc08e34e Update changelog 2019-12-27 18:10:33 +00:00
Graham Esau
22e7d49a84 Fix typo in readme 2019-12-27 18:04:33 +00:00
Graham Esau
460afe9b6e Update CI badge 2019-12-27 17:58:05 +00:00
Graham Esau
e299522573 Delete .travis.yml 2019-12-27 17:50:18 +00:00
Graham Esau
805fb243b2
Add github workflow for CI 2019-12-27 17:45:55 +00:00
Graham Esau
0ae2d48fba Rename derive_json_schema feature to impl_json_schema 2019-12-27 17:13:32 +00:00
Graham Esau
1c0f626e3f Add overview to docs site 2019-12-27 17:06:46 +00:00
Graham Esau
40f459603a Add link to website 2019-12-27 16:47:50 +00:00
Graham Esau
e25791dddf Add generic type to remote derive example 2019-12-27 16:25:50 +00:00
Graham Esau
be92d4da5f Clarify generic type behaviour in with attribute 2019-12-27 16:12:46 +00:00
Graham Esau
781f40b061 Improve schema naming for deriving on remote types 2019-12-27 15:37:59 +00:00
Graham Esau
ea28450c30 Add test for remote deriving with generic types 2019-12-27 14:38:58 +00:00
Graham Esau
8d40625f10 Add example for remote deriving JsonSchema 2019-12-26 23:18:09 +00:00
Graham Esau
b11536e527 Add example for schemars attributes 2019-12-26 22:20:53 +00:00
Graham Esau
601fc3aaad Add example for custom schema setings 2019-12-26 22:00:47 +00:00
Graham Esau
f387a0ec56 Add examples to docs 2019-12-26 21:34:08 +00:00
Graham Esau
d67abbdbb1 Update examples 2019-12-26 20:39:18 +00:00
Graham Esau
26346612b5 Add docs on generating schemas 2019-12-26 18:26:14 +00:00
Graham Esau
ebb20130f7 Tweak docs permalinks 2019-12-26 17:03:48 +00:00
Graham Esau
01966ba9bf Fix internal docs link 2019-12-26 16:52:52 +00:00
Graham Esau
583edc08ca Document implementing JsonSchema manually 2019-12-26 16:43:58 +00:00
Graham Esau
64b0f79851 Add docs permalinks 2019-12-26 14:35:34 +00:00
Graham Esau
938d273d42 Document feature flags 2019-12-24 23:20:11 +00:00
Graham Esau
e29f10f6b3 Document more attributes 2019-12-24 22:59:26 +00:00