Commit Graph

28 Commits

Author SHA1 Message Date
David Overton
a06ee16d8d Add Discriminated unions 2022-07-21 16:11:24 +02:00
Tom Sydney Kerckhove
45a112f16e Support disjoint unions 2021-12-23 15:12:30 +01:00
Tom Sydney Kerckhove
dc2be396bc Release candidate 2021-11-19 12:21:45 +01:00
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
35954aec68 optional key with omitted default 2021-11-12 16:23:33 +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
13f6278364 A function for named codecs 2021-11-08 14:49:13 +01:00
Tom Sydney Kerckhove
0358ba7544 fix the swagger todo 2021-11-06 22:06:32 +01:00
Tom Sydney Kerckhove
865c2bbeda Fixed a TODO 2021-11-06 18:50:05 +01:00
Tom Sydney Kerckhove
6a3566b775 Put autodocodec-aeson into autodocodec, there is no point in separating them anymore 2021-11-06 15:01:57 +01:00
Tom Sydney Kerckhove
027dde9416 Docs for autodocodec-swagger2 2021-11-06 12:00:42 +01:00
Tom Sydney Kerckhove
5ff58302a9 Swagger validation tests 2021-11-05 17:32:44 +01:00
Tom Sydney Kerckhove
31407e429c fixed some docs 2021-11-05 16:42:24 +01:00
Tom Sydney Kerckhove
fbff5bfa17 Fixed the recursive type schemas 2021-11-05 15:13:31 +01:00
Tom Sydney Kerckhove
9be70ca33c Put the field documentation in the right place for product types 2021-11-05 14:59:17 +01:00
Tom Sydney Kerckhove
df38571477 fill in the missing map case for openapi and swagger for product types 2021-11-05 14:54:28 +01:00
Tom Sydney Kerckhove
b3eae15268 DerivingVia for ToSchema instances 2021-11-05 14:02:05 +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
adc14d381e some swagger2 support for sum types 2021-11-05 10:19:18 +01:00
Tom Sydney Kerckhove
6be56ee1b2 nullcodec and eqcodec 2021-11-04 21:17:28 +01:00
Tom Sydney Kerckhove
e69903fa9e trying to make swagger schemas for object codecs as well 2021-11-02 18:04:41 +01:00
Tom Sydney Kerckhove
ce5ccfe7c9 swagger schema for a recursive type 2021-11-02 17:50:22 +01:00
Tom Sydney Kerckhove
46f01c6d82 Swagger schemas for arrays, dimap and comment 2021-11-02 11:23:34 +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