Joel Fisch
|
633385ee0c
|
Set default on property schema and not on the object level
|
2022-04-07 21:36:35 +02:00 |
|
David Overton
|
772ac79cde
|
Pass union to EitherCodec from matchChoiceCodecAs
|
2022-04-07 15:43:32 +10:00 |
|
David Overton
|
a6c72e5a6c
|
Add disjoint versions of matchChoiceCodec , matchChoicesCodec , enumCodec , stringConstCodec , and shownBoundedEnumCodec
|
2022-04-06 23:22:38 +10:00 |
|
David Overton
|
383d594238
|
Generalise type of matchChoiceCodec
|
2022-04-06 22:45:16 +10:00 |
|
Tom Sydney Kerckhove
|
7c0382f6a5
|
Merge pull request #17 from hasura/combine-enums
Combine enum schemas if they have the same type
|
2022-04-06 10:02:07 +02:00 |
|
David Overton
|
affdfba63c
|
Combine enum schemas if they have the same type
|
2022-04-06 17:25:33 +10:00 |
|
Tom Sydney Kerckhove
|
260cbca0c1
|
merged manually
|
2022-04-05 15:23:17 +02:00 |
|
David Overton
|
25350cda8f
|
Fix version in cabal file
|
2022-04-05 23:10:07 +10:00 |
|
David Overton
|
7fdeaffd5e
|
Add changelog entry
|
2022-04-05 23:05:57 +10:00 |
|
David Overton
|
02472bd713
|
Merge branch 'master' into openapi-types-in-enums
|
2022-04-05 23:04:07 +10:00 |
|
Daniel Chambers
|
9cc6db5772
|
Fix declareSchemaRef interfering with ReferenceCodec recursion control
|
2022-04-05 14:46:05 +02:00 |
|
David Overton
|
b0dd2090b0
|
Add a type field when generating enum schema from EqCodec
|
2022-03-28 15:08:43 +11:00 |
|
Tom Sydney Kerckhove
|
9880ec062f
|
Support multi-line default values in yaml schemas, fixes #8
|
2021-12-28 12:29:29 +01:00 |
|
Tom Sydney Kerckhove
|
4525db2587
|
specific support for 'or null' in autodocodec-yaml
|
2021-12-23 15:31:17 +01:00 |
|
Tom Sydney Kerckhove
|
fc34a0d786
|
Add special support for 'or null' schemas to autodocodec-openapi3
|
2021-12-23 15:23:51 +01:00 |
|
Tom Sydney Kerckhove
|
45a112f16e
|
Support disjoint unions
|
2021-12-23 15:12:30 +01:00 |
|
Tom Sydney Kerckhove
|
d269215812
|
Documentation about implementing HasCodec for a sum type
|
2021-12-10 13:04:12 +01:00 |
|
Tom Sydney Kerckhove
|
f0cb2ead09
|
license in root dir too
|
2021-11-19 23:05:14 +01:00 |
|
Tom Sydney Kerckhove
|
dc2be396bc
|
Release candidate
|
2021-11-19 12:21:45 +01:00 |
|
Tom Sydney Kerckhove
|
e5a54ccc0d
|
single or list codec
|
2021-11-18 17:05:56 +01:00 |
|
Tom Sydney Kerckhove
|
c1687a96fc
|
update sydtest
|
2021-11-18 15:00:17 +01:00 |
|
Tom Sydney Kerckhove
|
604ce108bd
|
Nicer export lists
|
2021-11-18 00:38:14 +01:00 |
|
Tom Sydney Kerckhove
|
f6d9523856
|
typo
|
2021-11-18 00:25:03 +01:00 |
|
Tom Sydney Kerckhove
|
86ab464a33
|
further docs, and a JSONObjectCodec type synonym
|
2021-11-18 00:24:33 +01:00 |
|
Tom Sydney Kerckhove
|
6773ee287c
|
found a way to get rid of the error and add more docs
|
2021-11-18 00:16:01 +01:00 |
|
Tom Sydney Kerckhove
|
7e1f1ea5ff
|
rename json encoding and decoding functions to mention json
|
2021-11-17 18:11:28 +01:00 |
|
Tom Sydney Kerckhove
|
68457161c6
|
rename yaml document to schema
|
2021-11-17 18:00:49 +01:00 |
|
Tom Sydney Kerckhove
|
7ad5253bbc
|
remove benchmarks that can't run
|
2021-11-17 14:39:36 +01:00 |
|
Tom Sydney Kerckhove
|
0c501cf45b
|
basic benchmarks
|
2021-11-17 14:24:20 +01:00 |
|
Tom Sydney Kerckhove
|
c7519cce99
|
made enumCodec more general
|
2021-11-17 13:40:30 +01:00 |
|
Tom Sydney Kerckhove
|
c217851b1d
|
combine nested bimap codecs
|
2021-11-17 01:09:05 +01:00 |
|
Tom Sydney Kerckhove
|
a48dc85e1b
|
make multiple alternatives object schemas look good too
|
2021-11-17 01:06:32 +01:00 |
|
Tom Sydney Kerckhove
|
1e15903a98
|
rename both to all in object schemas
|
2021-11-17 00:59:20 +01:00 |
|
Tom Sydney Kerckhove
|
6d57ef06b4
|
everything passes!
|
2021-11-17 00:57:07 +01:00 |
|
Tom Sydney Kerckhove
|
ae54f406da
|
only jsonschema roundtripping left
|
2021-11-17 00:01:28 +01:00 |
|
Tom Sydney Kerckhove
|
1c369eb74a
|
schema validation is back
|
2021-11-16 23:56:41 +01:00 |
|
Tom Sydney Kerckhove
|
ba19213a7d
|
got something to compile in the schema
|
2021-11-16 23:49:58 +01:00 |
|
Tom Sydney Kerckhove
|
01664270e7
|
Trying choice for objects again
|
2021-11-16 21:17:38 +01:00 |
|
Tom Sydney Kerckhove
|
0723cdc7e0
|
trying to implement choice for objects
|
2021-11-16 17:37:51 +01:00 |
|
Tom Sydney Kerckhove
|
67203f3c00
|
MORE doctest docs
|
2021-11-16 13:17:31 +01:00 |
|
Tom Sydney Kerckhove
|
cbc136d186
|
Added doctest for sustainable documentation
|
2021-11-16 01:47:12 +01:00 |
|
Tom Sydney Kerckhove
|
464c65658a
|
bounded integral rename and docs
|
2021-11-15 10:56:51 +01:00 |
|
Tom Sydney Kerckhove
|
ba37cd65e9
|
more docs about bimap
|
2021-11-15 10:52:16 +01:00 |
|
Tom Sydney Kerckhove
|
2ba58cb1d3
|
Show bounds in yaml documents as integers if we can
|
2021-11-14 21:25:42 +01:00 |
|
Tom Sydney Kerckhove
|
43206f901c
|
Add optional bounds to the number codec
|
2021-11-14 21:20:39 +01:00 |
|
Tom Sydney Kerckhove
|
6e3809376f
|
removed the docs from the codec instances of Ints and Words
|
2021-11-14 13:57:09 +01:00 |
|
Tom Sydney Kerckhove
|
8074268126
|
put optionalFieldOrNullWithOmittedDefault and friends in the export list
|
2021-11-14 13:23:20 +01:00 |
|
Tom Sydney Kerckhove
|
22361f607d
|
Undid the either change, it just does not produce nice docs
|
2021-11-14 13:21:49 +01:00 |
|
Tom Sydney Kerckhove
|
9cb3e6995c
|
optionalFieldOrNullWithOmittedDefault
|
2021-11-14 13:12:07 +01:00 |
|
Tom Sydney Kerckhove
|
3af2f4b216
|
Playing around with branching error context
|
2021-11-14 12:56:29 +01:00 |
|