Commit Graph

43 Commits

Author SHA1 Message Date
Tom Sydney Kerckhove
0723cdc7e0 trying to implement choice for objects 2021-11-16 17:37:51 +01:00
Tom Sydney Kerckhove
43206f901c Add optional bounds to the number codec 2021-11-14 21:20:39 +01:00
Tom Sydney Kerckhove
8b47a07e2a Instances for DiffTime and NominalDiffTime 2021-11-12 17:31:18 +01:00
Tom Sydney Kerckhove
a30b00fc08 codecViaAeson instances for time types 2021-11-12 16:56:34 +01:00
Tom Sydney Kerckhove
0cca6b2661 HasCodec instance for Day 2021-11-12 16:45:14 +01:00
Tom Sydney Kerckhove
777defbac0 codecs for maps and hashmaps 2021-11-12 01:11:58 +01:00
Tom Sydney Kerckhove
610aff68fd rename MapCodec to BimapCodec 2021-11-11 22:40:02 +01:00
Tom Sydney Kerckhove
192d87f259 HasCodec instance for sets 2021-11-11 18:26:43 +01:00
Tom Sydney Kerckhove
a9bf5c517e tests for roundtrips through json bytes and back 2021-11-11 13:27:03 +01:00
Tom Sydney Kerckhove
d650adcdc1 Encoding yaml values with ToYaml for ordered keys 2021-11-11 00:34:12 +01:00
Tom Sydney Kerckhove
0358ba7544 fix the swagger todo 2021-11-06 22:06:32 +01:00
Tom Sydney Kerckhove
d844252e60 Got the openapi schema validation tests to pass 2021-11-06 18:47:55 +01:00
Tom Sydney Kerckhove
d1d4d57e95 rename autodocodec-aeson-schema to autodocodec-schema 2021-11-06 15:06:32 +01:00
Tom Sydney Kerckhove
ca78d92a3b more error message regression tests 2021-11-06 11:06:38 +01:00
Tom Sydney Kerckhove
a6134dcdb9 error message golden tests 2021-11-05 19:45:18 +01:00
Tom Sydney Kerckhove
f299f8749d openapi schema validation 2021-11-05 17:57:15 +01:00
Tom Sydney Kerckhove
5ff58302a9 Swagger validation tests 2021-11-05 17:32:44 +01:00
Tom Sydney Kerckhove
85ba85f9f1 Usage test for a type with lots of comments 2021-11-05 17:04:45 +01:00
Tom Sydney Kerckhove
4de5e5f844 nonempty list instance 2021-11-05 16:52:18 +01:00
Tom Sydney Kerckhove
a067824491 sync up all the usage test types 2021-11-05 13:47:37 +01:00
Tom Sydney Kerckhove
c5c8df20d6 tests for a null type 2021-11-05 13:36:25 +01:00
Tom Sydney Kerckhove
6c3cc83464 First draft of autodocodec-openapi3 2021-11-05 10:56:54 +01:00
Tom Sydney Kerckhove
d1bd1f66da fixed the build 2021-11-05 10:35:49 +01:00
Tom Sydney Kerckhove
6be56ee1b2 nullcodec and eqcodec 2021-11-04 21:17:28 +01:00
Tom Sydney Kerckhove
26bafc1696 golden test for the show output 2021-11-02 21:55:11 +01:00
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
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
aa0ecdb6ec something that compiles 2021-11-01 14:26:27 +01: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
b25404dd5d default value in docs 2021-10-30 19:11:38 +02:00
Tom Sydney Kerckhove
8bd8552343 removed debug code 2021-10-30 11:34:40 +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