Commit Graph

64 Commits

Author SHA1 Message Date
Alexander Biehl
0d261c7f87
Merge pull request #14 from scarf-sh/readme-quickstart-guide
readme - quick start guide
2022-03-11 08:10:25 +01:00
Alex Biehl
5f94b4ce3a Deduplicate import statements in Api.hs 2022-03-11 08:03:22 +01:00
Alex Biehl
1e0b5dbc5c Correctly handle optional headers 2022-03-10 08:33:05 +01:00
Alex Biehl
253dfc5f70 Make response headers work properly 2022-03-10 07:32:17 +01:00
Alex Biehl
30e371963d Treat allOf and anyOf special in dependency analysis 2022-03-09 17:02:19 +01:00
ken.aguilar
ab80a372c8 quick start guide 2022-03-09 10:43:26 -05:00
Alexander Biehl
007ad9fda4
Create README.md 2022-03-09 15:04:12 +01:00
Alex Biehl
2a7d224c1c Fix request substitution marker 2022-03-09 14:21:59 +01:00
Alex Biehl
7dc76f36e3 Deterministic ordering for API methods 2022-03-09 13:39:23 +01:00
Alex Biehl
c7a7dfa111 Remove usage of mapKeys 2022-03-09 13:27:19 +01:00
Alex Biehl
443b8c1f68 Remove bytestring lower bound 2022-03-09 13:24:12 +01:00
Alex Biehl
c7fdeafaed Downgrade Cabal version requirement to 3.0 2022-03-09 13:12:11 +01:00
Alex Biehl
e6421c3c0d snake_case to CamelCase conversion for fields and operations 2022-03-09 11:53:25 +01:00
Alex Biehl
94d8456bc4 Proper dependency analysis for parameters 2022-03-09 07:53:03 +01:00
Alex Biehl
42f7ae0a62 Generate FromHttpApiData and ToHttpApiData instances 2022-03-08 15:01:17 +01:00
Alex Biehl
66a676af01 Generate toEncoding in ToJSON 2022-03-07 22:06:08 +01:00
Alex Biehl
a9b1013552 Pluggable body parsers 2022-03-06 13:13:34 +01:00
Alex Biehl
69efc138b9 Fully support response headers 2022-03-06 11:42:09 +01:00
Alex Biehl
0444f74af9 Use HashSet to avoid repeated elem calls 2022-03-04 11:00:42 +01:00
Alex Biehl
0e41d41e3e Avoid tell when assembling inline dependencies 2022-03-04 10:44:43 +01:00
Alex Biehl
30f6dfb19e Sort inline definitions for more determinism 2022-03-04 10:25:58 +01:00
Alexander Biehl
db4de8a412
Merge pull request #13 from scarf-sh/reformatted-test-assertion
reformatted assertion files
2022-03-04 10:14:10 +01:00
ken.aguilar
06e33457cc asserting the right types. 2022-03-03 21:43:41 -05:00
Alex Biehl
b62bd72e94 Support number and integer formats 2022-03-03 14:04:05 +01:00
Alex Biehl
b0505ac20b Stricten responses 2022-03-02 16:24:52 +01:00
Alex Biehl
bdc7199109 Support for Header parameters 2022-03-02 15:38:59 +01:00
Alexander Biehl
4f8b48ff1b
Merge pull request #12 from scarf-sh/nix-shell
deveplopment nix shell
2022-03-02 12:59:59 +01:00
Alex Biehl
dd99c90546 More simplifactions for code generation 2022-03-02 12:55:08 +01:00
Alex Biehl
c0ba255931 Simplify code generation by introducing helper code 2022-03-02 09:36:08 +01:00
ken.aguilar
a3ce665a45 deveplopment nix shell 2022-02-26 22:49:03 -05:00
Alex Biehl
61135dc28a Initial infrastructure for response headers 2022-02-23 11:51:53 +01:00
Alex Biehl
080ae77b7f Accept test outputs 2022-02-23 10:31:59 +01:00
Alex Biehl
20578cdeb6 Fix invalidRequest calls 2022-02-23 10:30:56 +01:00
Alex Biehl
b61fa3599c Remove undefineds in generated code 2022-02-23 08:14:35 +01:00
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