Commit Graph

77 Commits

Author SHA1 Message Date
Alexander Biehl
d374296eda
Update ci.yml 2022-04-19 08:57:36 +02:00
Alex Biehl
caa0f37e14 Respect discriminator when deserializing oneOf types 2022-04-19 08:51:56 +02:00
Alex Biehl
d03e3b277c CamelCasify Enum constructors 2022-04-05 08:01:56 +02:00
Alexander Biehl
27dc779f9d
Merge pull request #16 from scarf-sh/fix/names/escape-pattern
Escape pattern keyword when used as name
2022-04-01 16:57:50 +02:00
gillchristian
308a8aba66 Escape pattern keyword when used as name 2022-04-01 16:18:49 +02:00
Alex Biehl
9977dbbb7f Accept test suite output 2022-03-24 18:46:28 +01:00
Alexander Biehl
067b5d5af9
Update openapi3 sha256 for nix 2022-03-24 18:40:14 +01:00
Alex Biehl
d08d9a0473 x-tie-haskell-type extension 2022-03-24 17:29:49 +01:00
Alex Biehl
f3db4e89ff Consider path dependencies too 2022-03-16 07:14:49 +01:00
Alex Biehl
d2d8be2b75 Streamline response constructor generation 2022-03-14 08:47:01 +01:00
Alex Biehl
014652191f Streamline api call generation 2022-03-13 20:30:37 +01:00
Alex Biehl
8d43265515 Sort responses by response code 2022-03-13 18:08:06 +01:00
Alex Biehl
489ca65573 Show which reference is missing 2022-03-11 14:31:14 +01:00
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