Commit Graph

27 Commits

Author SHA1 Message Date
Tom Sydney Kerckhove
d9095e0c02 moved the test resources around a bit 2021-11-02 00:12:36 +01:00
Tom Sydney Kerckhove
3703c2cd31 some initial schemas 2021-11-02 00:09:16 +01:00
Tom Sydney Kerckhove
cb1bd16e0b tried a thing 2021-11-01 19:28:06 +01:00
Tom Sydney Kerckhove
632a0cb9be Renamed Autodocodec.Aeson.DocumentSpec to Autodocodec.Aeson.SchemaSpec 2021-11-01 19:16:41 +01:00
Tom Sydney Kerckhove
a8eb840bdf simplified the way default values work 2021-11-01 19:15:29 +01:00
Tom Sydney Kerckhove
c8c3b179b5 got rid of some done todos 2021-11-01 19:10:55 +01:00
Tom Sydney Kerckhove
e04fed62a7 renamed Autodocodec.Aeson.Document to Autodocodec.Aeson.Schema 2021-11-01 19:07:54 +01:00
Tom Sydney Kerckhove
190d702200 split off a autodocodec-aeson-schema package 2021-11-01 19:06:42 +01:00
Tom Sydney Kerckhove
312149899a deriving via example 2021-11-01 18:42:32 +01:00
Tom Sydney Kerckhove
de9fc92a9d generate a value schema as well 2021-11-01 16:56:56 +01:00
Tom Sydney Kerckhove
cf7f92f50b generate default schemas as well 2021-11-01 16:52:04 +01:00
Tom Sydney Kerckhove
b37761b07b Generate ref and def schemas 2021-11-01 16:29:12 +01:00
Tom Sydney Kerckhove
27677bff24 implemented the undefined in yamlschema 2021-11-01 16:11:59 +01:00
Tom Sydney Kerckhove
aa0ecdb6ec something that compiles 2021-11-01 14:26:27 +01:00
Tom Sydney Kerckhove
6ee83a4426 strip the newlines off yaml encodings in the ValueSchema docs 2021-10-30 20:38:08 +02:00
Tom Sydney Kerckhove
6f0851ad12 put the default value in the key schema directly 2021-10-30 20:22:25 +02:00
Tom Sydney Kerckhove
50bba03446 docs built-in in the fields 2021-10-30 19:55:07 +02:00
Tom Sydney Kerckhove
b25404dd5d default value in docs 2021-10-30 19:11:38 +02:00
Tom Sydney Kerckhove
0cbb0056cc rename bimap to dimap 2021-10-30 12:54:22 +02:00
Tom Sydney Kerckhove
c7749e2947 withDefault and documentation 2021-10-30 12:42:26 +02:00
Tom Sydney Kerckhove
8bd8552343 removed debug code 2021-10-30 11:34:40 +02:00
Tom Sydney Kerckhove
99d62f01fa optionalFieldWithDefault 2021-10-30 11:34:16 +02:00
Tom Sydney Kerckhove
9333b3c253 Optional field or null 2021-10-30 11:22:54 +02:00
Tom Sydney Kerckhove
4bfa61d352 got the decoding the wrong way around 2021-10-30 02:34:30 +02:00
Tom Sydney Kerckhove
4044263ad3 something is going wrong with numbers 2021-10-30 02:32:53 +02:00
Tom Sydney Kerckhove
78fefa969c move all tests to the api usage module 2021-10-30 00:34:47 +02:00
Tom Sydney Kerckhove
c3402bc891 Refactor api usage tests into separate package 2021-10-30 00:29:59 +02:00