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
William Cheng
1b2f3fbfb6
Fix alias to map response ( #1067 )
...
* fix response reference to map
* update samples
* add null check for openapi
2018-09-20 19:29:33 +08:00
William Cheng
0f30a052b2
Add an option to skip "form" model generation ( #700 )
...
* add option to generate all models
* update doc
* rename option to skipFormModel
* update petstore samples
* Update doc
* Update samples
2018-08-17 17:22:30 +08:00
Jon Schoning
79fafda012
[haskell-http-client] regen samples ( #492 )
2018-07-08 12:46:35 +08:00
Jérémie Bresson
059a3efe46
Regenerate samples ( #367 )
2018-05-08 16:44:51 +08:00
William Cheng
e45b3784f1
Fix NPE with Haskell client generator with OAS3 spec ( #334 )
...
* fix NPE with haskell client oas3, better type check
* better unknown type check
2018-05-06 23:56:59 +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
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
5219035b3a
[haskell-http-client] handle Alias models + refactoring. ( #6712 )
...
* handle Alias models with newtypes
* add inlineConsumesContentTypes cli option
* generate swagger.yaml instead of swagger.json
* check for/validate unhandled authMethods
* refactoring
2017-10-18 10:47:56 +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
4fb612c2e8
[haskell-http-client] update documentation; refactoring; add 'strictFields' cli option ( #6458 )
...
* update readme; remove unused DeriveAnyClass extension
* refactor request/param utility functions
* add strictFields cli option
* add CONTRIBUTING.md
2017-09-09 17:11:46 +08:00
Jon Schoning
c7d145a4ba
add haskell-http-client-generator ( #6429 )
2017-09-06 00:33:48 +08:00