Commit Graph

90 Commits

Author SHA1 Message Date
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
ae46d36ef4 Usage documentation 2021-11-01 18:26:14 +01:00
Tom Sydney Kerckhove
c2342bceef example usage docs 2021-11-01 17:59:30 +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
7a32f49ba7 simplified yaml schema creation 2021-11-01 16:16:06 +01:00
Tom Sydney Kerckhove
27677bff24 implemented the undefined in yamlschema 2021-11-01 16:11:59 +01:00
Tom Sydney Kerckhove
8881680dc8 got rid of the undefineds in schema validation 2021-11-01 14:32:09 +01:00
Tom Sydney Kerckhove
aa0ecdb6ec something that compiles 2021-11-01 14:26:27 +01:00
Tom Sydney Kerckhove
9dfc1158fa some type-annotations for documentation 2021-11-01 13:51:47 +01:00
Tom Sydney Kerckhove
867a789023 renamed some type variables 2021-10-31 23:31:33 +01:00
Tom Sydney Kerckhove
d61887924e object codec for json objects 2021-10-31 23:16:30 +01:00
Tom Sydney Kerckhove
3b3a23b434 rename ObjectCodec to ObjectOfCodec 2021-10-31 23:13:13 +01:00
Tom Sydney Kerckhove
6ec37cd56c Docs, docs, and more docs 2021-10-31 12:38:36 +01:00
Tom Sydney Kerckhove
46392269a3 export list for autodocodec 2021-10-31 12:11:20 +01:00
Tom Sydney Kerckhove
aad1a848e4 optionalFieldOrNullWith 2021-10-31 11:46:54 +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
d7254410d2 refactor out an orNull helper 2021-10-30 20:28:06 +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
c2e0da59c5 rename fmap and comap to lmap and rmap 2021-10-30 18:36:36 +02:00
Tom Sydney Kerckhove
3a17b9f310 Put together all of the codec types 2021-10-30 16:29:23 +02:00
Tom Sydney Kerckhove
8e26e2f5f5 build fewer versions on ci because the haddocks are quite stupid about it 2021-10-30 13:00:37 +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
32dfb6191e Better names for primitive codecs 2021-10-30 12:25:33 +02:00
Tom Sydney Kerckhove
f03d879004 encode arrays an vectors 2021-10-30 12:11:41 +02:00
Tom Sydney Kerckhove
f2cc6badbf remove obsolete funding options 2021-10-30 12:05:05 +02:00
Tom Sydney Kerckhove
1f16d4ccb6 Readme and documentation efforts 2021-10-30 12:03:59 +02:00
Tom Sydney Kerckhove
ac755572fb A little bit fo documentation everywhere 2021-10-30 11:54:31 +02:00
Tom Sydney Kerckhove
424db75bb8 Got rid of the Bimap codec node in favour of a more general map codec node 2021-10-30 11:39:52 +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
02eaed434a little moving 2021-10-30 11:23:44 +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
Tom Sydney Kerckhove
6071b88b0c deleted rogue file 2021-10-29 20:31:57 +02:00
Tom Sydney Kerckhove
86d9a7b742 Also yaml output for reference schemas 2021-10-29 20:23:58 +02:00
Tom Sydney Kerckhove
347e6eabc5 a finite recursive schema 2021-10-29 19:56:07 +02:00
Tom Sydney Kerckhove
04c6f46001 a codec for a recursive type 2021-10-27 23:04:23 +02:00
Tom Sydney Kerckhove
29e697c308 matchChoicesCodec 2021-10-27 22:34:11 +02:00
Tom Sydney Kerckhove
67ed366d5b clearer tests 2021-10-27 21:51:21 +02:00
Tom Sydney Kerckhove
556574bacc Value Codec 2021-10-27 18:19:34 +02:00