Commit Graph

90 Commits

Author SHA1 Message Date
Alex Biehl
05add8332c Move Response.hs file to template file 2022-06-13 11:19:06 +02:00
gillchristian
3b6a8d5801 Update README.md 2022-06-12 18:13:04 +02:00
Alex Biehl
24e28b6c2d Remove some superflouos whitespace from generated code 2022-06-12 18:03:05 +02:00
Alex Biehl
51c5a0a8d4 CI: Test with ghc-9.2.3 2022-06-12 14:58:07 +02:00
Alex Biehl
db58a7c924 README update 2022-06-12 14:58:07 +02:00
Alex Biehl
fb2b6e701b Default to free form object in case of missing shema type annotation 2022-06-12 14:58:07 +02:00
Alex Biehl
a84d0b4e00 Support generating arrays without explicit items 2022-06-12 14:58:07 +02:00
Alex Biehl
b0f9c87627 Use Relude from Hackage again 2022-06-12 14:58:07 +02:00
Alex Biehl
270bca4199 Cabal file updates 2022-06-12 14:58:07 +02:00
Alex Biehl
1e888e29ae Support schema-less response bodies 2022-05-23 21:28:45 +02:00
Alex Biehl
8323ff0fe1 Support code generation for unknown media types 2022-05-23 20:55:29 +02:00
Alex Biehl
aa67163680 Support for multiple response types 2022-05-23 20:31:17 +02:00
Alexander Biehl
d84aa4a16d
Custom Relude version for ghc-9.2.2 support 2022-05-06 14:19:31 +02:00
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