William Cheng
466a67c9bc
Merge remote-tracking branch 'origin/4.3.x' into 5.0.x
2019-12-12 17:27:49 +08:00
William Cheng
3e34903042
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-12-11 15:44:50 +08:00
Michal Hornický
d8c469c19d
[go] Fix multi-value path params in go ( #4664 )
...
* Fix multi-value path params in go
* update oas v3 go petstore sample
2019-12-09 14:44:39 +08:00
Jiri Kuncar
dce392336d
[Go] Add multiple servers support to Go(-experimental) client ( #4635 )
...
* [Go] Add multiple servers support to Go-experimental client
* [Go] Use same configuration in go and go-experimental
* [Go] Use Replace -1 instead of ReplaceAll
* [Go] Fix typo and add bound check
* [Go] Regenerate missing templates
2019-12-04 16:27:30 +08:00
William Cheng
11c7007429
Prepare v4.2.3 ( #4663 )
...
* update version
* update doc
* update samples
2019-12-02 15:26:01 +08:00
Marin Atanasov Nikolov
c0e11ec01b
Add debug flag support for go-experimental generator ( #4649 )
...
* Add debug flag for go-experimental generator
* Check for errors before dumping the response in Go generator
* samples/openapi3: update samples for Go generators
2019-12-02 11:52:44 +08:00
Marin Atanasov Nikolov
df682aba99
Add support for dumping request and response in Go generated clients ( #4566 )
...
* Add support for dumping request and response in Go generated clients
The following change adds a new configuration setting, which
controls whether clients want to dump the HTTP request and response.
Useful when debugging API calls and clients.
* samples: Update Go samples with XML
* Use log.Logger when dumping HTTP request and response in Go client
2019-11-28 20:52:16 +08:00
William Cheng
4ed742b6bc
update samples
2019-11-21 15:24:13 +08:00
William Cheng
facabd4472
Merge branch '4.3.x' into 5.0.x
2019-11-21 15:19:31 +08:00
William Cheng
60f4de0f22
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-11-20 18:15:22 +08:00
dukov
1ccf4b9cb3
[Go] Bypass object decode in case of empty body ( #4546 )
...
Fixes #4545
Change-Id: Ic724843713f60f996ed72326ad6ef6762ec2e713
2019-11-20 11:20:15 +08:00
William Cheng
f07b3e0521
Prepare 4.2.2-SNAPSHOT ( #4497 )
...
* update to 4.2.2-SNAPSHOT
* update doc
* update samples
* skip ocaml test
* update version
* fix version
2019-11-15 21:34:25 +08:00
William Cheng
4ca9430474
sync master, update doc
2019-11-04 09:38:22 +08:00
William Cheng
4824bb7711
sync master, update samples
2019-11-04 09:28:19 +08:00
William Cheng
47e2c0d027
update samples ( #4334 )
2019-10-31 13:31:49 +08:00
Arvind Thirunarayanan
893f16ad3c
[Golang] Allow retrieving the underlying configuration for APIClient ( #3976 )
...
* Allow retrieving the underlying configuration for APIClient
- Needed for dynamically changing the underlying implementations and
for testing
- Fixes #1321 and #3412
* Added go-petstore-withXml changes suggested by circleci
* Add caution note about modifying configuration while live
2019-10-21 13:20:56 +08:00
Colin Arnott
080991823a
[Go] Upgrade dependencies ( #4126 )
...
antihax/optional#1 added module support, and was tagged as a stable
release. This change consumes that tag, and updates the psuedo-version
for golang.org/x/oauth2.
2019-10-17 20:09:02 +08:00
wing328
54151891cc
Merge branch 'master' into 5.0.x
2019-10-17 11:18:57 +08:00
William Cheng
672a7e9c60
update samples
2019-10-16 02:52:04 +08:00
Hippolyte HENRY
3693d60840
Add newline between function signature of operation and summary of operation ( #4112 )
...
* Add newline after function signature
* update Petstore
* [go] Add newline after function signature
* update petstore
2019-10-15 14:46:45 +08:00
Thiago Arrais
cb2bf4d2bf
Do not check status code for default response ( #3322 )
...
* Do not check status code for default response
* Updated generated code/docs
Because Circle CI said
> Please run 'bin/utils/ensure-up-to-date' locally and commit
> changes (UNCOMMITTED CHANGES ERROR)
2019-10-15 01:29:46 +08:00
Colin Arnott
3274592e29
[Go] Fix go.mod and go.sum for 1.13 ( #4084 )
...
The openapi-generator-cli currently creates an invalid go.mod file,
according to the go1.13 compiler. This change uses the correct pseudo
version without upgrading or modifying either dependency. It also adds
several missing go.sum dependencies that will break when the toolchain
is run in -mod=readonly mode.
2019-10-10 21:59:53 +08:00
William Cheng
cf38c56aa6
Fix readonly with isReadOnly ( #4102 )
...
* fix readonly
* update samples
2019-10-09 15:16:22 +08:00
William Cheng
8f86f0f04a
Merge remote-tracking branch 'origin/4.2.x' into 5.0.x
2019-10-08 21:21:04 +08:00
William Cheng
d4500b307f
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-10-04 15:02:58 +08:00
William Cheng
7dbda049f0
Better tests for string (number) ( #3953 )
...
* beter test for string (number)
* fix mapping
* fix mapping in csharp generators
2019-09-30 15:22:44 +08:00
William Cheng
5eb67d471b
Merge remote-tracking branch 'origin/4.2.x' into 5.0.x
2019-09-22 21:00:38 +08:00
William Cheng
3019b5a5e1
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-09-22 14:18:07 +08:00
Jim Schubert
667a6097b5
[spring] Resolve regression on RequestParam for non-objects ( #3855 )
...
* [spring] Resolve regression on RequestParam for non-objects
* Regenerate Go client samples
* Include testcase for issue 3248
* Set isModel appropriately for referenced schemas
2019-09-16 22:46:47 +08:00
William Cheng
ea029b4029
update doc, samples ( #3875 )
2019-09-11 21:17:11 +08:00
William Cheng
3ebefccfa9
Prepare v4.1.2 release ( #3873 )
...
* update samples
* update date
2019-09-11 18:33:27 +08:00
Benjamin Simpson
239d68df36
[Java][okhttp-gson] fix failure to deserialize floats ( #3846 )
...
* fixed bug where nullApi.java would be generated. Instead, generated DefaultApi.java to match the default path /{pathParam}
* fix to bug #3157
* update samples
2019-09-07 12:36:19 +08:00
William Cheng
91daca36ef
Better Go code format ( #3819 )
...
* better varible naming
* better comments
* better code format for go experimental client
* better comment, update samples
2019-09-04 14:22:06 +08:00
Quim Muntal
8f13b88ed9
Support custom git repository ( #3757 )
...
* add gitHost param to GeneratorSettings and related
* parameterize gitHost in READMEs
* parameterize gitHost in go.mod
* parameterize gitHost in git_push
* update petstore samples
* run ./bin/utils/export_docs_generators.sh
* run meta-codehen.sh
* Revert "run meta-codehen.sh"
This reverts commit d6d579f6159186531257cdfdd73b9caf9e9ffeba.
* Revert "run ./bin/utils/export_docs_generators.sh"
This reverts commit 1b81538198d4319fd1b4e97447303e3cc0e8dc99.
* Revert "update petstore samples"
This reverts commit f513add88396707f6991ae2e4920359583ec88f1.
* run ensure-up-to-date
2019-09-03 21:35:49 +08:00
William Cheng
a8fe5d355c
Merge remote-tracking branch 'origin/4.2.x' into 5.0.x
2019-08-29 14:48:00 +08:00
William Cheng
9182784955
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-08-28 14:01:20 +08:00
William Cheng
d0d545bbdd
Prepare 4.1.2 snapshot ( #3758 )
...
* update pom
* update samples
* update ts axios samples
2019-08-26 22:13:12 +08:00
Jérémie Bresson
286ddf38f7
Update to swagger-parser to 2.0.14-OpenAPITools.org-1 ( #3737 )
2019-08-24 10:40:05 +02:00
William Cheng
4575b3074a
[Go] add option to use class as enum prefix ( #3675 )
...
* add option to use class as enum prefix
* update doc
* fix go test
* update go xml petstore
* fix format
2019-08-20 00:33:08 +08:00
Kris Raney
e086ad1b6e
Guarantee a unique name for the constants that represent enum values ( #3644 )
...
* Guarantee a unique name for the constants that represent enum values
* update samples
* Use all-caps
2019-08-19 14:34:26 +08:00
Kris Raney
b83fe0c611
[Go]URLEncode path parameters ( #3643 )
...
* URLEncode path parameters
* update samples
* Use correct module naming
2019-08-16 20:58:54 +08:00
William Cheng
c3535cf9ca
Add test cases to cover different collection formats ( #3640 )
...
* add test cases to cover different collection format
* add space params to retrofit 1.x
* add space params to retrofit 2.x
* rename url to localVarUrl
* fix exception in haskell servant
2019-08-15 11:09:12 +08:00
William Cheng
55786119e7
Import Go package with leading underscore ( #3634 )
...
* escape import with underscore in go client
* revert changes to test spec
2019-08-14 15:17:12 +08:00
William Cheng
01222268e8
update samples
2019-08-11 18:56:47 +08:00
William Cheng
5956569e7a
Prepare 4.1.1-SNAPSHOT ( #3603 )
...
* update pom
* update samples
* update pom
2019-08-10 09:41:08 +08:00
William Cheng
0b7d3c4590
Merge remote-tracking branch 'origin/master' into 5.0.x
2019-07-10 11:41:13 +08:00
William Cheng
753be28782
Merge remote-tracking branch 'origin/4.1.x'
2019-07-09 23:56:30 +08:00
William Cheng
203fc812bd
v4.0.3 release ( #3315 )
...
* update snapshot version
* update doc
* comment out haskell servant server test
2019-07-09 20:44:31 +08:00
William Cheng
0b79c5b6be
Add new Go client (experimental) generator ( #3268 )
...
* add new go experimental generator
* extends go client codegen
* add go samples and test
* comment out haskell client test
2019-07-04 22:56:49 +08:00
wing328
8fd4539836
Merge remote-tracking branch 'origin/4.1.x' into 5.0.x
2019-07-02 22:48:41 +08:00