Commit graph

108 commits

Author SHA1 Message Date
Graham Esau
d07a1be031
Rewrite attribute handling code (#330) 2024-08-27 16:50:47 +01:00
Graham Esau
fb6bd6d439 Add note to docs about setting examples via the extend attribute 2024-08-25 13:09:18 +01:00
Graham Esau
26366d112d 1.0.0-alpha.11 2024-08-24 14:38:55 +01:00
Graham Esau
016d20c1eb 1.0.0-alpha.10 2024-08-22 20:00:04 +01:00
Graham Esau
9683d18e67 1.0.0-alpha.9 2024-08-21 17:54:53 +01:00
Graham Esau
8438865588 Disable doctests for derive code snippets 2024-08-21 17:52:56 +01:00
Graham Esau
2914a1b66a Include derive(JsonSchema) docs in rustdoc 2024-08-21 17:52:56 +01:00
Graham Esau
f8974a951d 1.0.0-alpha.8 2024-08-21 16:20:01 +01:00
Graham Esau
b4f214f6dc
Remove usages of gen identifier (#323)
`gen` is a reserved keyword in rust 2024, making it very awkward to use as a module/variable name.
2024-08-21 16:15:13 +01:00
Graham Esau
8142be1ea2 Regenerate docs search-data 2024-08-21 10:44:49 +01:00
Graham Esau
564a5d8ae4 Update just-the-docs and feature flags docs 2024-08-20 23:09:19 +01:00
Graham Esau
8fa61b09a4 1.0.0-alpha.7 2024-08-19 22:33:56 +01:00
Graham Esau
677f76f7a3 1.0.0-alpha.6 2024-08-17 20:12:53 +01:00
Graham Esau
4b7e9ace01 1.0.0-alpha.5 2024-08-17 19:50:07 +01:00
Graham Esau
3c9e49d161 1.0.0-alpha.4 2024-08-17 16:20:51 +01:00
Graham Esau
c61b26091e Update examples 2024-08-10 17:57:02 +01:00
Graham Esau
7bcd200a21 v1.0.0-alpha.3 2024-08-10 13:40:05 +01:00
Graham Esau
55b88b53db Add migration guide 2024-08-10 13:01:36 +01:00
Graham Esau
14b06e71ba
Add transform = ... attribute (#312)
This allows running arbitrary transforms on generated schemas when deriving `JsonSchema`
2024-08-10 09:56:52 +01:00
Graham Esau
ce15380863
Do not collapse newlines in doc comments (#310) 2024-08-04 16:43:22 +01:00
Graham Esau
91ee3f915c Update docs for v1 2024-06-09 19:48:35 +01:00
Graham Esau
692958353d Add extend attribute to docs 2024-06-09 19:26:40 +01:00
Graham Esau
d511d447f7 Add separate docs for v0.8/v1 2024-06-09 19:01:24 +01:00
Graham Esau
760403e2f5 Update doc comments and make SchemaGenerator available from crate root 2024-05-27 11:09:15 +01:00
Graham Esau
fb6e1a5c61 Regenerate example schemas 2024-05-26 21:22:48 +01:00
Graham Esau
f8b56cb455 Replace is_referenceable() with always_inline_schema() 2024-05-26 16:51:42 +01:00
Graham Esau
1aaa162e0b Make schema_name() return Cow<'static, str> instead of String 2024-05-26 15:20:56 +01:00
Graham Esau
8c2c32bce0 Regenerate example schemas 2024-05-13 18:33:55 +01:00
Graham Esau
9415fcb57b v0.8.15 2023-09-17 21:13:54 +01:00
Graham Esau
a136277f60 Update docs for schema_id() 2023-09-17 20:51:37 +01:00
Jakub Jirutka
a5e51b22b3
Add #[schemars(inner(...)] attribute to specify schema for array items (#234) 2023-09-09 13:35:53 +01:00
Graham Esau
c487bbb9e7 Update docs and changelog 2023-08-28 12:29:36 +01:00
Graham Esau
5836afbd64 Update docs and changelog 2023-08-27 23:01:12 +01:00
Graham Esau
0303f0334e
add support for semver crate (#238)
---------

Co-authored-by: Omar Tawfik <15987992+OmarTawfik@users.noreply.github.com>
2023-08-27 20:00:36 +01:00
Graham Esau
386e3d7f5a v0.8.12 2023-02-26 21:00:48 +00:00
Graham Esau
73715c10e0 Fix GH actions badge 2023-02-26 19:10:21 +00:00
Graham Esau
4f14c1a74c Update docs and changelog 2022-10-02 19:46:29 +01:00
Graham Esau
4db6733844 Fix rendering of HTML tags in markdown docs 2022-08-14 15:35:32 +01:00
Graham Esau
74974d3e95
Support uuid v1 and arrayvec 0.7 (#142) 2022-05-16 22:39:48 +01:00
Graham Esau
d549957183 Document new optional dependencies 2021-11-25 21:42:54 +00:00
Graham Esau
6f39a13724 Update examples after 0a1200b 2021-11-14 19:05:09 +00:00
Matt Campbell
d059686da8 Implement JsonSchema on EnumSet type 2021-10-10 18:49:34 +01:00
Graham Esau
00e482c3a1 v0.8.4 2021-09-19 10:43:29 +01:00
Graham Esau
7a8eeafde2 Add newline to attributes docs 2021-09-18 23:03:28 +01:00
Graham Esau
1d3541b4b1 Update changelog and docs 2021-09-18 23:00:14 +01:00
Graham Esau
7914593d89 Allow setting validation attributes via #[schemars(...)] 2021-04-18 22:17:53 +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
Daniel Hahne
0e3938798f Support Bytes (#68) 2021-04-05 21:02:32 +01:00
Graham Esau
b2b733ba5c
Support for #[schemars(crate = "...")] (#80) 2021-04-05 19:34:28 +01:00