Commit Graph

35 Commits

Author SHA1 Message Date
Tom Sydney Kerckhove
a8eb840bdf simplified the way default values work 2021-11-01 19:15:29 +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
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
aa0ecdb6ec something that compiles 2021-11-01 14:26:27 +01:00
Tom Sydney Kerckhove
6ec37cd56c Docs, docs, and more docs 2021-10-31 12:38:36 +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
3a17b9f310 Put together all of the codec types 2021-10-30 16:29:23 +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
86d9a7b742 Also yaml output for reference schemas 2021-10-29 20:23:58 +02:00
Tom Sydney Kerckhove
556574bacc Value Codec 2021-10-27 18:19:34 +02:00
Tom Sydney Kerckhove
cbe01f0db5 Ordered keys 2021-10-27 16:20:29 +02:00
Tom Sydney Kerckhove
c64f52dbce Nonempty choice schema in aeson 2021-10-27 13:26:43 +02:00
Tom Sydney Kerckhove
24c2f3ca00 tests pass 2021-10-27 02:28:29 +02:00
Tom Sydney Kerckhove
dc5065dd66 Choice seems to work now 2021-10-26 23:42:22 +02:00
Tom Sydney Kerckhove
11234259c3 get rid of the thing that is broken 2021-10-26 21:20:51 +02:00
Tom Sydney Kerckhove
8110b035c7 found a major bug with choice 2021-10-24 23:40:28 +02:00
Tom Sydney Kerckhove
6638000c3a EqCodec 2021-10-24 23:07:14 +02:00
Tom Sydney Kerckhove
f608f4a338 Hlint applied 2021-10-24 19:45:21 +02:00
Tom Sydney Kerckhove
617f95fe68 Not too much ceremony for the either codec 2021-10-24 15:22:24 +02:00
Tom Sydney Kerckhove
6eec7dfa27 names for arrays and objects, for error messages and for documentation 2021-10-24 15:21:37 +02:00
Tom Sydney Kerckhove
c252d80fbb Basic comments 2021-10-23 21:32:06 +02:00
Tom Sydney Kerckhove
222fc55999 rename field to requiredField 2021-10-23 21:14:29 +02:00
Tom Sydney Kerckhove
9f8a315f61 optional fields 2021-10-23 21:13:51 +02:00
Tom Sydney Kerckhove
d89c62a771 Show choice schemas nicely as well 2021-10-23 21:03:52 +02:00
Tom Sydney Kerckhove
90d9b9d7fa basic colouring 2021-10-23 20:58:10 +02:00
Tom Sydney Kerckhove
566493a245 basic pretty schema rendering without colour so far 2021-10-23 20:09:12 +02:00
Tom Sydney Kerckhove
949665a190 Started on autodocodec-yaml 2021-10-23 19:51:31 +02:00