Commit Graph

30 Commits

Author SHA1 Message Date
Alex Biehl
c9d6a52e54 Pin down index state for better CI caching 2022-02-23 07:36:51 +01:00
Alex Biehl
e11bd89fed Use parenthesis instead of $ 2022-02-22 14:34:57 +01:00
Alex Biehl
940c8dfa2c Allow throwing responses 2022-02-22 11:10:08 +01:00
Alex Biehl
b7c3f9e9a0 Generate Exception instance for responses 2022-02-22 11:03:18 +01:00
Alex Biehl
7c86d4a8cc Fix code generation for empty repsonse bodies 2022-02-22 10:37:06 +01:00
Alex Biehl
d13775ac83 Add petstore golden test 2022-02-22 10:34:38 +01:00
Alex Biehl
1b965b3d69 Allow for empty response bodies 2022-02-22 10:34:31 +01:00
Alex Biehl
cc8e3b437d Normalize Request bodies as well 2022-02-21 13:04:51 +01:00
Alex Biehl
39c5b8663a Test case for Response normalization 2022-02-21 12:49:38 +01:00
Alex Biehl
9f7e58dad3 Normalize params and responses 2022-02-21 11:36:56 +01:00
Alex Biehl
c1c9b1fdb4 Fix generation of optional query parameters 2022-02-20 20:44:33 +01:00
Alex Biehl
193bbe2226 Properly convert Haskell module to filepath 2022-02-20 20:32:08 +01:00
Alex Biehl
d5ba39a871 Add GitHub CI 2022-02-20 18:22:08 +01:00
Alex Biehl
cde9267143 Simplify Resolvable type class 2022-02-20 17:30:48 +01:00
Alex Biehl
7ac36beb5d Quick and diry CLI 2022-02-18 08:25:55 +01:00
Alex Biehl
9312b2b671 Commetary for api data type members 2022-02-17 17:43:17 +01:00
Alex Biehl
a859749b63 Unify code generation for fields and basic types 2022-02-17 15:43:52 +01:00
Alex Biehl
800b7bbd81 Support Day and UTCTime field types 2022-02-17 15:38:23 +01:00
Alex Biehl
71637bfea2 Language BangPatterns for every module 2022-02-17 12:26:58 +01:00
Alex Biehl
710b2f890e Code generation for query parameters 2022-02-17 12:00:38 +01:00
Alex Biehl
2c804ff303 Normalize top-level Array element types 2022-02-17 09:52:57 +01:00
Alex Biehl
be455cf7a6 Generate code for top-level array types 2022-02-17 09:14:04 +01:00
Alex Biehl
9eeea90bdd Continue work on type normalization 2022-02-17 09:12:40 +01:00
Alex Biehl
12ecf55bed Update test oneOf test 2022-02-16 13:18:03 +01:00
Alex Biehl
7b19417663 Generalize type normalization 2022-02-16 13:15:36 +01:00
Alex Biehl
705174cc2f Group methods by path 2022-02-15 13:58:22 +01:00
Alex Biehl
5191d8e117 Proper code generation for Enumerations 2022-02-15 13:43:00 +01:00
Alex Biehl
bc4f03b338 Header and Query params for Operation 2022-02-15 12:33:38 +01:00
Alex Biehl
568e3746dd Response modules import Response.hs 2022-02-15 11:15:47 +01:00
Alex Biehl
7aa1cc6353 Initial commit 2022-02-15 11:01:21 +01:00