William Cheng
90a8b81728
Prepare 3.2.1-SNAPSHOT release ( #748 )
...
* prepare 3.2.1 SNAPSHOT release
* update doc to use 3.2.0 stable version
2018-08-07 01:31:37 +08:00
Jon Schoning
f6c21057e1
[haskell-http-client] regen samples ( #709 )
...
* [haskell-http-client] regen samples
* ensure the haskell-http-client samples are always up-to-date
2018-08-05 15:11:52 -05:00
Jon Schoning
79fafda012
[haskell-http-client] regen samples ( #492 )
2018-07-08 12:46:35 +08:00
Jim Schubert
27426f7b52
Cli generator name option, replaces 'language' options in CLI and Maven Plugin ( #57 )
2018-05-23 05:41:19 +02:00
Jon Schoning
34db79b9ba
[haskell-http-client] update dependency versions + readme ( #81 )
2018-05-17 18:40:58 +08:00
Jon Schoning
68780afe9d
[haskell-http-client] update samples (OAS3) ( #381 )
2018-05-09 10:31:28 +08:00
William Cheng
13f084e7b0
Fix dataTypeWithEnum for array of form parameters ( #354 )
...
* fix datatypewithenum for array of form parameters
* add test cases to cover dataTypeWithEnum, enumName in Ruby
2018-05-08 20:55:49 +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
Jérémie Bresson
7ecd5f3566
Rename "swagger" to "openapi" ( #191 )
...
* Rename ".swagger-codegen-ignore" to ".openapi-generator-ignore"
* Rename setGenerateSwaggerMetadata(Boolean) to setGenerateMetadata(Boolean)
* Rename Metadata Folder to .openapi-generator
2018-04-22 21:28:17 +02: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
9fba9c3255
[haskell-http-client] add config options: cabalPackage, cabalVersion, baseModule, requestType, configType ( #7515 )
...
- add new config options:
cabalPackage
Set the cabal package name, which consists of one or more alphanumeric words separated by hyphens
cabalVersion
Set the cabal version number, consisting of a sequence of one or more integers separated by dots
baseModule
Set the base module namespace
requestType
Set the name of the type used to generate requests
configType
Set the name of the type used for configuration
2018-01-28 14:59:04 +08:00
Jon Schoning
bca2b9fb5b
[haskell-http-client] handle */* mimetype correctly & split api modules & allowNonUniqueOperationIds ( #7254 )
...
* [haskell-http-client] handle */* mimetype correctly
* [haskell-http-client] generate separate api modules, for each child api
* [haskell-http-client] add cliOption "allowNonUniqueOperationIds"
When cli option "allowNonUniqueOperationIds" is true,
allows *different* API modules to contain the same operationId,
and then each API must be imported qualified.
2018-01-07 11:59:55 +08:00
Jon Schoning
538f28e568
bump stack resolver to lts-10.0 ( #7221 )
2017-12-20 21:55:23 +08:00
Ville Skyttä
794bb07cf7
Spelling fixes ( #7142 )
2017-12-10 10:48:30 +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
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
db67840ded
[haskell-http-client] bug fixes; path & newtype generation issues ( #6638 )
...
* fix path generation/param-substitution issues
* fix newtype de-duplication issues
* refactoring only
* correct version in comments
* prevent duplicate MimeTypes
* sort parameter newtypes
2017-10-10 23:01:48 +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
wing328
28a5b74dbf
add partial header to haskell http client ( #6606 )
2017-10-02 23:52:01 +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
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
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