William Cheng
cbddb08468
Add post processing to files generated by Haskell generators ( #968 )
...
* add hfmt support (without updating the sample)
* update haskell httpclient samples with hfmt
* add code format option to haskell servant, minor bug fixes
* update code samples with hfmt
* update samples using stylish-haskell
* rename env variable
* update haskell samples with stylish-haskell
* regenerate haskell samples without stylish-haskell
* regenerate haskell servant sample
* update example-app & tests-integration for OAS2 code
2018-09-29 17:21:03 +08:00
Jon Schoning
79fafda012
[haskell-http-client] regen samples ( #492 )
2018-07-08 12:46:35 +08:00
Jon Schoning
68780afe9d
[haskell-http-client] update samples (OAS3) ( #381 )
2018-05-09 10:31:28 +08:00
Jon Schoning
db02cc2ac9
[haskell-http-client] resolve oas 2.0 regressions ( #198 )
...
* [haskell-http-client] fix codegen issues
* ensure datatypeWithEnum is set on codegenParameter when is enum
* [haskell-http-client] fix isAlias + arrayModelType missing "datatype"
* [haskell-http-client] param.isListContainer is sometimes false for list types
* [haskell-http-client] gen MimeNoContent instances automatically
* [haskell-http-client] fix example-app and integration tests
* [haskell-http-client] update docs
2018-04-23 16:10:50 +08:00
Jon Schoning
2d0bafb6b2
[haskell-http-client] default InlineMimeTypes=true ( #7534 )
...
- default CLI option InlineMimeTypes to True, since it produces cleaner code
- update bounds on dependancies
2018-02-01 12:26:13 +08:00
Jon Schoning
cd1c2b13e3
[haskell-http-client] refactor & promote accept mimetype to request; simplify templates ( #6866 )
...
* add AuthMethodException
* rename cli prop
* simplify templates
2017-11-05 01:41:53 +08:00
Jon Schoning
4fc52c5524
[haskell-http-client] add support for enums ( #6803 )
...
* support enums for models and operation parameters
* add generateEnums cli option (default: true)
* bump stack resolver: lts-9.10
2017-10-29 00:45:13 +08:00
Jon Schoning
5b32e886f4
[haskell-http-client] add support for auth methods ( #6622 )
...
* add support for auth methods
* use newtypes for required params
* fix duplicate operationId issues
* prevent aliasing of vendorextension references in fromOperation
* add --fast to stack ci build
2017-10-07 17:12:48 +08:00
Jon Schoning
8bd7d3912b
[haskell-http-client] fixes for fake-endpoints ( #6597 )
...
* fix compile errors / sanitization for petstore-with-fake-endpoints-models-for-testing.yaml
* correct mimetype logic
* add makefile
2017-10-01 18:18:46 +08:00
Jon Schoning
d928617b69
[haskell-http-client] use katip logger, default strict ( #6478 )
...
* change strictFields cli option default to True;
* use katip logging; add cli-option for monad-logger
* fix date parsing
* remove package.yaml
2017-09-19 01:24:38 +08:00
Jon Schoning
4310ea326c
[haskell-http-client] update readme; improve lens generation; fix dateFormat ( #6448 )
...
* point readme links to canonical locations
* use lenses for non-required model fields, instead of traversals
* fix .gitignore generation
* fix dateFormat cli option bug
2017-09-07 23:17:49 +08:00
Jon Schoning
c7d145a4ba
add haskell-http-client-generator ( #6429 )
2017-09-06 00:33:48 +08:00