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
Graham Esau
0358a4e141
Document some more attributes
2019-12-24 22:04:20 +00:00
Graham Esau
aa8a7a4a80
Write some more docs
2019-12-23 22:07:21 +00:00
Graham Esau
3c0ee3f703
Move css overrides out of custom.scss
2019-12-23 21:20:27 +00:00
Graham Esau
d30238c981
Do not pass container attributes through enums/variants
...
When deriving JsonSchema over a struct-style enum variant, do not apply the enum's container attributes to the variant. This couldn't cause any problems in practice because the only container attribute we explicitly set is "default", which cannot be set on an enum.
2019-12-23 20:50:26 +00:00
Graham Esau
fc592e5dd7
Ensure root schemas do not have a $ref property.
...
If necessary, wrap the `$ref` in an `allOf`.
2019-12-16 21:36:20 +00:00
Graham Esau
d7c010d9c2
Tweak docs site styling
2019-12-15 00:16:41 +00:00
Graham Esau
fcd38ed76a
Add placeholder pages for docs site
2019-12-14 16:52:41 +00:00
Graham Esau
ccb7f48c3b
Tweak docs site styling
2019-12-14 15:35:56 +00:00
Graham Esau
43ac3fddb6
Add fancy badges to docs site
2019-12-11 20:11:48 +00:00
Graham Esau
5a0800256f
Fix github pages build warning
2019-12-10 22:39:32 +00:00
Graham Esau
f5c2798891
Add placeholder docs
2019-12-10 22:20:33 +00:00
Graham Esau
88a43d7476
Set theme jekyll-theme-minimal
2019-12-10 21:39:04 +00:00
Graham Esau
a1b6c0ebd4
Create temp file in docs folder
2019-12-10 21:37:58 +00:00
Graham Esau
b5e1821f3a
Don't include "doc" in list of helper attributes
2019-12-09 21:56:19 +00:00
Graham Esau
f55572f735
Fix indentation
...
It should be 4 spaces, not 2
2019-12-09 21:49:47 +00:00
Graham Esau
e151d21d6d
v0.6.1
...
Fix a compile error that can occur when deriving `JsonSchema` from a project that doesn't reference serde_json
2019-12-09 21:25:37 +00:00
Graham Esau
351ff1572a
v0.6.0
2019-12-09 21:06:44 +00:00
Graham Esau
3fb625e08c
Refactoring of schemars_derive
2019-12-09 20:57:38 +00:00
Graham Esau
dca9e2d920
Pass fewer attributes to serde_derive_internals
2019-12-09 18:43:43 +00:00
Graham Esau
3e5a054793
Update README example output
2019-12-09 17:37:58 +00:00
Graham Esau
1f021fa5ae
Format project with rustfmt
2019-12-09 17:37:49 +00:00
Graham Esau
e4d69f89e7
v0.6.0-alpha-2
2019-12-09 13:07:39 +00:00
Graham Esau
26c4099bbe
Do not serialize schema default if it would be skipped by skip_serializing_if
attribute
2019-12-09 12:34:28 +00:00
Graham Esau
8301a38b8f
v0.6.0-alpha
2019-12-09 11:44:00 +00:00
Graham Esau
ae397b228d
Do not use explicit #[doc] comments in test
...
This breaks the build on nightly
2019-12-08 22:47:33 +00:00
Graham Esau
9579d6a94c
Fix rustc 1.32.0 build
2019-12-08 22:34:48 +00:00
Graham Esau
4c4fb1cf36
Rewrite attribute parsing logic
2019-12-08 22:28:49 +00:00
Graham Esau
1bdbaaf082
Update changelog
2019-12-08 20:08:28 +00:00
Graham Esau
b748a90c3f
Respect serialize_with attr when serializing default
2019-12-08 20:04:54 +00:00
Graham Esau
7e23e2ad7a
Set "default" on generated schemas ( #6 )
2019-12-08 15:17:08 +00:00
Graham Esau
81eb53b590
Add test for defaults in derived schemas
...
Currently ignored as defaults are not yet implemented.
2019-12-08 13:12:09 +00:00
Graham Esau
1e9f36122d
Minor refactoring/cleanup
2019-12-08 12:03:46 +00:00
Graham Esau
ba79de696a
Document SchemaGenerator.make_extensible()
2019-12-08 12:03:46 +00:00
Graham Esau
89d3024beb
Do not inline referenceable schemas to set nullable
2019-12-08 12:03:46 +00:00
Graham Esau
529e3d4611
v0.6.0-doc
2019-12-08 12:03:46 +00:00
Graham Esau
d92b741b9b
Get title/description from #[doc] on enum variants
2019-12-08 12:03:46 +00:00
Graham Esau
a1c3daaed8
Join adjacent lines in descriptions from #[doc]s
2019-12-08 12:03:46 +00:00
Graham Esau
feefd418d4
Set schema title and description from #[doc]s
...
Work in progress
2019-12-08 12:03:46 +00:00
Graham Esau
c630264ef9
v0.5.1
2019-10-30 22:25:03 +00:00
Graham Esau
96870ecabb
Remove "work in progress" note from readme
2019-10-30 22:13:03 +00:00
Graham Esau
1044718dbd
Add missing doc comment for "title"
2019-10-30 22:11:53 +00:00
Graham Esau
ef120bc3fc
v0.5.0
2019-10-30 19:58:45 +00:00