Jon Schoning
1247e77453
[haskell-http-client] add ability to choose additional characters in querystring which should not be encoded (e.g. "+" or ":") ( fixes #3459 ) ( #10424 )
2021-09-19 02:02:22 -05:00
Nathan Baulch
5d68bd6a03
Fix thousands of spelling typos ( #10272 )
2021-08-28 22:58:24 +08:00
William Cheng
0204bf4ae2
Squashed commit of the following:
...
commit c5a0d0f7394aa742fa336fff7e7c1d3049761868
Merge: 8c4991ba3ed f8ff8c87609
Author: William Cheng <wing328hk@gmail.com>
Date: Tue Aug 17 18:28:12 2021 +0800
Merge branch 'mustache-linting' of https://github.com/NathanBaulch/openapi-generator into NathanBaulch-mustache-linting
commit f8ff8c87609b1ca36fa26fb8474806999638195e
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:12:47 2021 +1000
Reorder tags that handle missing values
commit f5d8a33709d6a3f846a9fe4520b78c3d637051d9
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:08:59 2021 +1000
Use dot notation where possible
commit 493d14921e2333f3ae19ef6fc89318b7e263a80c
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:10:49 2021 +1000
Remove empty tags
commit 32480dc53f48227d55531b94e307d72671373737
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 10:41:58 2021 +1000
Remove redundant sections
commit a8edabd722c34aa094b4aeb11c22664529c3a219
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Wed Aug 4 22:02:22 2021 +1000
Trim extra EOF new lines
commit e89bd7458e3594bf0d30e580bc9408e45b018a57
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Wed Aug 4 21:59:26 2021 +1000
Trim trailing whitespace
2021-08-17 18:37:51 +08:00
Jon Schoning
8c5c0597ae
[haskell-http-client] avoid depending on ParseTime,FormatTime ( #6861 )
...
* [haskell-http-client] avoid depending on ParseTime,FormatTime
* [haskell-http-client] update haddocks
2020-07-04 19:52:52 -05:00
Jon Schoning
cc1bfe5fef
[haskell-http-client] add dateTimeParseFormat cli option - overrides the format string used to parse a datetime ( #4037 )
...
This allows specifying a different formatString for parsing than for rendering, which is useful because padding widths are not supported in `parseTimeMSource`
2019-10-02 23:30:34 -05:00
Jon Schoning
c9737cf97d
[haskell-http-client] add cli option customTestInstanceModule
( #2406 )
...
setting `customTestInstanceModule` will import typeclasses from the
specified module into tests/Instances.hs, to provide typeclass
instances for types not known by the generator
this property set using `--additional-properties`
example:
```
--additional-properties=customTestInstanceModule=CustomInstances
```
2019-03-15 07:34:46 -05:00
Jon Schoning
c30a21ac3c
[haskell-http-client] Allow logger selection via cabal flags. Emit Consumes */* for requestBody when not specified
...
[haskell-http-client] Allow logger selection via cabal flags. Emit Consumes */* for requestBody when not specified
2019-02-28 13:04:50 -06:00
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
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
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
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
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
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
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