Commit Graph

142 Commits

Author SHA1 Message Date
Tom Sydney Kerckhove
13a97cc3f0
Merge pull request #1 from kenranunderscore/zap-swagger
Remove unused dependency on `swagger` (not `swagger2`)
2021-11-07 20:44:56 +01:00
Johannes Maier
a4060270db Remove unused dependency on swagger 2021-11-07 16:42:57 +01:00
Tom Sydney Kerckhove
91800d7e76 fixed a golden test for a show instance 2021-11-07 03:30:41 +01:00
Tom Sydney Kerckhove
0358ba7544 fix the swagger todo 2021-11-06 22:06:32 +01:00
Tom Sydney Kerckhove
028abf9536 Fixed more TODOs 2021-11-06 18:52:27 +01:00
Tom Sydney Kerckhove
865c2bbeda Fixed a TODO 2021-11-06 18:50:05 +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
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
e59231e488 upgrade ci 2021-11-06 12:47:58 +01:00
Tom Sydney Kerckhove
8cd917ba31 Nice README 2021-11-06 12:17:40 +01:00
Tom Sydney Kerckhove
4dfb40d330 describe the tests that we do 2021-11-06 12:11:42 +01:00
Tom Sydney Kerckhove
9fc8604407 some comments for the api usage tests 2021-11-06 12:04:47 +01:00
Tom Sydney Kerckhove
da5aa62276 Docs for autodocodec-openapi 2021-11-06 12:03:27 +01:00
Tom Sydney Kerckhove
027dde9416 Docs for autodocodec-swagger2 2021-11-06 12:00:42 +01:00
Tom Sydney Kerckhove
36b08e80ed documentation for autodocodec-yaml 2021-11-06 11:43:47 +01:00
Tom Sydney Kerckhove
5f6411a3db Docs for autodocodec-aeson 2021-11-06 11:37:49 +01:00
Tom Sydney Kerckhove
9723a2b6fd Improved JSON parsing error messages 2021-11-06 11:22:13 +01:00
Tom Sydney Kerckhove
ca78d92a3b more error message regression tests 2021-11-06 11:06:38 +01:00
Tom Sydney Kerckhove
ccd5a05ef7 fixed the bounded integer error message 2021-11-06 02:16:23 +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
5a26606d59 more explananation about why the referencecodec needs to be lazy 2021-11-05 16:47:03 +01:00
Tom Sydney Kerckhove
31407e429c fixed some docs 2021-11-05 16:42:24 +01:00
Tom Sydney Kerckhove
a1f1225f7d use strict data in the codec module 2021-11-05 16:31:08 +01:00
Tom Sydney Kerckhove
ecb575e2d0 fix the schema generation of nested schemas 2021-11-05 15:44:02 +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
1d4b7ef1b1 Improved the show output to be more accurate and better parenthesised 2021-11-05 14:47:58 +01:00
Tom Sydney Kerckhove
e35bf87ce4 output object properties in the json schema as well 2021-11-05 14:45:18 +01:00
Tom Sydney Kerckhove
b3eae15268 DerivingVia for ToSchema instances 2021-11-05 14:02:05 +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
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
26bafc1696 golden test for the show output 2021-11-02 21:55:11 +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
ec47c5bbb5 add the swagger package to the nix build 2021-11-02 11:27:36 +01:00
Tom Sydney Kerckhove
46f01c6d82 Swagger schemas for arrays, dimap and comment 2021-11-02 11:23:34 +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