Commit graph

8 commits

Author SHA1 Message Date
Graham Esau
0672c862c8 Add Schema methods insert, get and remove
These are just convenience methods that delegate to the inner object. `insert` will also convert bool schemas to object schemas.
2024-08-30 11:40:29 +01:00
Graham Esau
d07a1be031
Rewrite attribute handling code (#330) 2024-08-27 16:50:47 +01:00
Graham Esau
c61b26091e Update examples 2024-08-10 17:57:02 +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
7914593d89 Allow setting validation attributes via #[schemars(...)] 2021-04-18 22:17:53 +01:00
Graham Esau
e7cae04beb Update docs and changelog 2020-05-16 12:21:09 +01:00
Graham Esau
58cc7fac25 Run cargo fmt 2019-12-29 22:09:54 +00:00
Graham Esau
b11536e527 Add example for schemars attributes 2019-12-26 22:20:53 +00:00