Graham Esau
|
0304fefb61
|
v0.1.8
|
2019-09-08 14:52:54 +01:00 |
|
Graham Esau
|
e9e0526adc
|
Implement JsonSchema for more deref types
|
2019-09-08 14:44:32 +01:00 |
|
Graham Esau
|
6cf9343657
|
Set format property on integers
|
2019-09-08 14:20:57 +01:00 |
|
Graham Esau
|
a236d7aee0
|
Implement JsonSchema for chrono types
Requires chrono feature.
|
2019-09-08 13:29:45 +01:00 |
|
Graham Esau
|
7285dde99a
|
Add tuple unit test
|
2019-09-07 23:45:40 +01:00 |
|
Graham Esau
|
3fcdc72662
|
Add unit tests for map JsonSchemas
|
2019-09-07 23:23:01 +01:00 |
|
Graham Esau
|
45e37a9c81
|
Add unit tests for Option schemas
|
2019-09-07 22:39:13 +01:00 |
|
Graham Esau
|
00148bdf57
|
Split JsonSchema implementations into separate files
|
2019-09-07 21:58:31 +01:00 |
|
Graham Esau
|
a68b105450
|
v0.1.7
|
2019-09-07 16:36:45 +01:00 |
|
Graham Esau
|
3f5f7cf0a3
|
Enable deriving JsonSchema for unit/newtype/tuple structs
|
2019-09-07 16:36:12 +01:00 |
|
Graham Esau
|
07f4f68a02
|
Add tests for tuple enum variants
|
2019-09-07 15:25:06 +01:00 |
|
Graham Esau
|
c2e8389e93
|
Fix Option<T> schema generation sometimes producing a schema that is not referenced
|
2019-09-03 19:47:39 +01:00 |
|
Graham Esau
|
717e3baed9
|
Clippy fixes
|
2019-09-03 19:28:17 +01:00 |
|
Graham Esau
|
9938c498a0
|
Add workspace cargo.toml
|
2019-09-03 19:26:37 +01:00 |
|
Graham Esau
|
10ab02f167
|
Remove explicit lifetime from get_schema_object
|
2019-08-27 21:46:27 +01:00 |
|
Graham Esau
|
f45181aac3
|
0.1.6 - implement JsonSchema for unsized types
|
2019-08-11 17:58:07 +01:00 |
|
Graham Esau
|
6eba5df7b3
|
Fix schemars_derive dependency
|
2019-08-11 14:55:15 +01:00 |
|
Graham Esau
|
a00f488559
|
Make get_schema_object public
|
2019-08-11 14:46:03 +01:00 |
|
Graham Esau
|
870dc3a2de
|
Rename MakeSchema to JsonSchema
|
2019-08-11 14:35:26 +01:00 |
|
Graham Esau
|
58e169b866
|
0.1.3
|
2019-08-10 00:41:48 +01:00 |
|
Graham Esau
|
a3076dde63
|
Internally tagged enums
|
2019-08-10 00:41:04 +01:00 |
|
Graham Esau
|
b0ae29094e
|
Add enum tests
|
2019-08-10 00:09:40 +01:00 |
|
Graham Esau
|
936fb8c96e
|
Fix schema generation for complex enum variants
|
2019-08-08 22:45:21 +01:00 |
|
Graham Esau
|
94250fa037
|
Rename SchemaRef to Ref
|
2019-08-08 22:00:15 +01:00 |
|
Graham Esau
|
87b56f2a77
|
Add package info to Cargo.toml
|
2019-08-08 19:00:48 +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
|
67d44533d6
|
Reorganise tests
|
2019-08-07 19:27:32 +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
|
2aa1835240
|
Add test for flattened structs (currently ignored)
|
2019-08-06 18:57:36 +01:00 |
|
Graham Esau
|
933eb1ac40
|
Use pretty_assertions in tests
|
2019-08-06 08:55:25 +01:00 |
|
Graham Esau
|
70c8d0f763
|
Add test for openapi3-compatible schema generation
|
2019-08-06 08:42:43 +01:00 |
|
Graham Esau
|
48465b51cf
|
Refactor nullable schema generation
|
2019-08-06 07:48:44 +01:00 |
|
Graham Esau
|
650c434c1a
|
Ensure all schema types are set to nullable when appropriate
|
2019-08-06 00:52:06 +01:00 |
|
Graham Esau
|
1f514f2be7
|
Add some config for openapi3 compatibility
|
2019-08-05 23:30:53 +01:00 |
|
Graham Esau
|
ef5c584118
|
Add schema_for macro
|
2019-08-05 21:20:16 +01:00 |
|
Graham Esau
|
463ba518b6
|
Refactor subschema generation
|
2019-08-05 21:05:31 +01:00 |
|
Graham Esau
|
4a9fdd3334
|
Support untagged enums
|
2019-08-05 20:40:06 +01:00 |
|
Graham Esau
|
c552e6d208
|
Change some derived traits in model structs
|
2019-08-05 20:05:31 +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
|
076cf423c3
|
Fix error in map schema generation
|
2019-08-05 14:30:44 +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 |
|