Graham Esau
|
936fb8c96e
|
Fix schema generation for complex enum variants
|
2019-08-08 22:45:21 +01:00 |
|
Graham Esau
|
cf661afa13
|
Add package info to Cargo.toml
|
2019-08-08 18:50:41 +01:00 |
|
Graham Esau
|
8afce08c54
|
Slightly abstract away map/set types
|
2019-08-08 18:43:15 +01:00 |
|
Graham Esau
|
998e6c9f0f
|
Set "required" schema attribute
|
2019-08-08 18:34:47 +01:00 |
|
Graham Esau
|
6b64cedb91
|
Process #[schemars] attributes
|
2019-08-08 08:24:30 +01:00 |
|
Graham Esau
|
1d0fd18c9e
|
Enable renaming schemas using attribute on struct
|
2019-08-07 23:03:54 +01:00 |
|
Graham Esau
|
d14db450cf
|
Test for default name of struct with type params
|
2019-08-07 13:32:44 +01:00 |
|
Graham Esau
|
54cfd2ba0e
|
Support #[serde(flatten)]ed structs
|
2019-08-07 08:19:43 +01:00 |
|
Graham Esau
|
bd750714a0
|
Fix up schema naming - nightly no longer required!
|
2019-08-06 23:06:22 +01:00 |
|
Graham Esau
|
51ed13218c
|
Allow making a schema to fail by returning an Err
|
2019-08-06 20:56:04 +01:00 |
|
Graham Esau
|
4a9fdd3334
|
Support untagged enums
|
2019-08-05 20:40:06 +01:00 |
|
Graham Esau
|
fc346da692
|
Add test for schema generation.This test will frequently fail as new features/fixes are implemented - but at least it gives an easy way of visualising changes!
|
2019-08-05 18:58:28 +01:00 |
|
Graham Esau
|
d79f0f56b0
|
Schema now implements MakeSchema
|
2019-08-05 13:16:06 +01:00 |
|
Graham Esau
|
d90a29f3f8
|
Struct-like enum variants work!
|
2019-08-04 22:52:03 +01:00 |
|
Graham Esau
|
8b034f4dd8
|
Tuple enums
|
2019-08-04 22:45:05 +01:00 |
|
Graham Esau
|
3be97a7da4
|
Handle newtype enum variants
|
2019-08-04 22:28:33 +01:00 |
|
Graham Esau
|
d628f7c162
|
Refactoring derive macros
|
2019-08-04 21:35:01 +01:00 |
|
Graham Esau
|
d1a319c5f2
|
Generate schemas for simple enums
|
2019-08-04 19:49:41 +01:00 |
|
Graham Esau
|
48d6cda0b8
|
Use serde internals to determine property names
|
2019-08-04 18:43:20 +01:00 |
|
Graham Esau
|
5228ec65e5
|
Allow deriving MakeSchema on simple structs!
|
2019-08-04 16:44:09 +01:00 |
|