William Cheng
a4b5b85067
Update jackson nullable version to newer version v0.2.6 ( #14823 )
...
* update jackson nullable to newer version
* update samples
* update samples
* update samples
2023-02-27 18:38:31 +08:00
sbilz
f4e53db8cf
Java Jersey glassfish fix renewing OAuth-Accesstoken #14734 ( #14735 )
2023-02-25 22:01:33 +08:00
Cameron Koegel
18ef6ff96a
[Ruby] fix return_binary_data
with attr_accessor
( #14772 )
...
* [Ruby] fix `return_binary_data` with `attr_accessor`
* regenerate samples
2023-02-22 00:51:21 +08:00
William Cheng
c50a775e0c
prepare 6.5.0 release ( #14749 )
2023-02-19 20:36:23 +08:00
William Cheng
93df0ff444
Prepare 6.4.0 release ( #14748 )
...
* prepare 6.4.0 release
* update samples
2023-02-19 18:53:20 +08:00
Beppe Catanese
515abf8c68
[Go] Export isNil function in utils.go ( #14625 )
...
* Rename isNil to IsNil
* Regenerate files
2023-02-07 22:15:30 +08:00
William Cheng
cda3517891
[Go] properly set header parameters on api clients ( #14637 )
...
* [Go] properly set header parameters on api clients
* update samples
* update samples
---------
Co-authored-by: Paul Sokolik <paul.sokolik@gmail.com>
2023-02-07 21:45:24 +08:00
Robin Karlsson
ca19fa0ef3
[java][jersey] Fix ALLOW_COERCION_OF_SCALARS ( #14619 )
...
* Remove dead code
* Refactor containsKey before get
* Minor refactor
* Use JsonMapper.builder() to build ObjectMapper
Fix a bug where ALLOW_COERCION_OF_SCALARS wasn't set properly.
* Update samples
* Oops, fix a typo
2023-02-06 10:34:21 +08:00
Masato Yagi
d8f777d707
Fix the examples and import path in golang client documents ( #14612 )
...
* Correct import
* Fix generated client doc when there is no response body
* generate samples
2023-02-03 21:44:45 +08:00
Simon Schmid
55e2eb1d6a
Set proxy in ruby faraday client if configured ( #14597 )
...
* set proxy in ruby faraday client if configured
* Add missing string terminator in ruby client spec
* generating samples for ruby
2023-02-03 16:11:44 +08:00
Gonzalo Gomez
68b41eeeea
[GO][Client] Don't import io/ioutil package that has been deprecated as of Go 1.16 ( #14476 )
...
* io/ioutil has been deprecated ass of Go 1.16, the same functionality is now provided by package io or package os
* run pr checklist
* Bump go version to 1.16.
* Run pr checklist
* Bump version to 1.18
* Run pr check list
2023-02-03 15:50:12 +08:00
William Cheng
31a89e35cb
Prepare 6.4.0 ( #14582 )
...
* update to 6.4.0 snapshot
* update samples
* update doc
2023-02-01 22:44:40 +08:00
William Cheng
8f2676c5c2
Prepare v6.3.0 release ( #14580 )
...
* 6.3.0 release
* fix maven plugin test
* update samples
* update doc
* fix tests in windows
2023-02-01 20:52:29 +08:00
Ian Cubbon
92775ceffc
[Go] [Client] Don't Explode Query Params ( #14447 )
...
* If the collection type is csv, that means 'dont explode the query params'.
* Simplify the logic just a tad
* url.Values -> Has was added in go1.17 but there are CI tests running at 1.16
2023-01-14 00:48:27 +08:00
Lisa Burns
02d4852f26
Enable access token refresh ( #14251 )
...
* Enable the ruby client to support refreshing access tokens
- The client can now be configured with an access token getter proc
- The proc overrides the the static access token if it is set
* Run generators
2022-12-21 15:19:51 +08:00
Yohei Kitamura
6800905123
[ruby] Fix api_error.mustache to initialize message-only errors properly ( #14264 )
2022-12-17 15:58:04 +08:00
William Cheng
811e0de1be
replace spaces with tabs in go client ( #14189 )
2022-12-06 13:04:58 +08:00
Ian Cubbon
63629ad51c
[Go] File Download Fix Return Type ( #14046 )
...
* Changes manually cherry-picked (for the most part) from https://github.com/OpenAPITools/openapi-generator/pull/12685/files
* Examples updated post changes
* Missed a change in the mustache template
* Update examples after last fix
* Missed dereference for required files
* Update unit tests
* Missed another test case update
* `f := *f` isn't quite the same as `*f, err = ...`
2022-12-06 12:21:39 +08:00
Andrei Matei
c62ebc377e
[Go] Add authentication methods only if referenced in input spec ( #14138 )
...
* Add conditions for auth methods
* Add extra auth method validations
* Regenerate example SDK
* Clean-up tests
* Fix indentation and go.sum
2022-12-01 15:29:59 +08:00
Ian Cubbon
903ff0ba47
Trim any space when we format the error message sent back to the client. ( #14066 )
...
A trailing whitespace gets included if the error is not a RFC7807 model.
2022-11-20 22:35:21 +08:00
Vittorio Parrella
4487042f0d
Issue 11401 - report correctly the parameters with the deep object specification ( #13909 )
...
* issue #11401 - Go client generator doesn't support deepObject in query
* samples generation
* fix generation
* fix generation
* generated samples
# Conflicts:
# samples/client/petstore/go/go-petstore/model_200_response.go
# samples/client/petstore/go/go-petstore/model_additional_properties_any_type.go
# samples/client/petstore/go/go-petstore/model_client.go
* Fixed unit tests
* revert to http connection for tests
* fix model_simple generation
* Fix parameter encoding issue
* simplified routine
* fix test url
* adapted for latest master, necessary generation
* samples generation
* sync with new master, regenerate samples
* added api client test
2022-11-20 15:09:33 +08:00
Jeremy Audet
92ecee8c27
Don't cast list to tuple in python-prior binding ( #14014 )
...
* Add test for python-prior type conversion error
In the spirit of test driven development, this test intentionally fails.
A following commit will fix the code to comply with the test.
See: https://github.com/OpenAPITools/openapi-generator/issues/14012
* Don't cast list to tuple in python-prior binding
Tweak the python-prior API bindings, so that they no longer cast lists
to tuples when making a POST request with a multipart/form-data
content-type. This fixes an interaction with
`urllib3.request_encode_body`, whose `fields` parameter expects tuples,
not lists.
cc @spacether
See: https://urllib3.readthedocs.io/en/stable/reference/urllib3.request.html
Fix: https://github.com/OpenAPITools/openapi-generator/issues/14012
2022-11-15 17:40:28 -08:00
William Cheng
2e44e78474
Update Ruby minimum version to 2.7 ( #14002 )
...
* update ruby minimum version to 2.7
* test ruby in cirleci
2022-11-13 12:14:21 +08:00
William Cheng
6a7b8fcebe
[Go][client] better code format, regenerate go client tests ( #13940 )
...
* go client regenerate test
* replace 4-space with tabs, regenerate tests
2022-11-08 10:40:28 +08:00
Nathan Baulch
9f1fa0e440
Fix another batch of spelling typos ( #13915 )
...
* Fix typos
* Remove repeated words
* Minor grammar fixes
2022-11-07 21:30:24 +08:00
cachescrubber
5221682086
[Java][Client] Support annotationLibrary=none to remove swagger annotations ( #13869 )
...
* Support annotationLibrary=none in JavaClientCodegen
* Add example using annotationLibrary=swagger1
* Support annotationLibrary=none in libraries
* Fix missing curly brace.
* fix if statement condition
* Support {{#swagger1AnnotationLibrary}} in java/rest-assured
* Adopt JavaModelTest
* Generate docs
* Generate samples
* clean up java feign files
* clean up feign samples
* fix resttemplate, native
* fix resttemplate withXml
* fix webclient
* fix java-jersey2, vertix
* fix googleapi client
* fix rest assured
* fix rest assured
* update apache-httpclient
* fix jersey2 special character
* fix resteasy
* fix jersey2
* update samples
* fix jersey2, okhttp streaming
* update okhttp-gson
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2022-11-04 17:07:46 +08:00
William Cheng
2947d147b4
Merge remote-tracking branch 'origin/master' into 6.3.x
2022-11-01 17:42:59 +08:00
William Cheng
b0ce532bdc
Prepare 6.2.1 release ( #13871 )
...
* prepare 6.2.1 release
* revert change
* fix maven plugin test
* update meta
2022-11-01 17:16:46 +08:00
Nick Ufer
a04b2623b0
[GO] fix: stops checking for nil for structs ( #13843 )
...
* [GO] fix: stops checking for nil for structs
* [GO] chore: regenerates samples
2022-10-31 22:50:02 +08:00
Beppe Catanese
1de28c8a72
Improve error message (rfc7807) ( #13680 )
...
* Add func formatErrorMessage
* Add unit test
* Commit generated code
* Fix indentation
* Using tabs
* Set error before model
* Commit generated code
* Fix tabs
* Commit generated code
* Fix tabs
* Fix tabs
* Commit generated code
2022-10-31 22:35:16 +08:00
William Cheng
4c19c725a7
minor improvements on java client based on intellji ide ( #13864 )
2022-10-30 23:31:04 +08:00
William Cheng
227f583a81
[java] Update jackson-databind-nullable version to 0.2.4 ( #13804 )
...
* update jackson databind version to 0.2.4
* update samples
2022-10-24 13:56:46 +08:00
William Cheng
a68c36e932
Update jackson core and databind to newer versions ( #13755 )
...
* update databind to newer version
* update jackson version
* update dep
* revert jersey1
2022-10-21 10:14:37 +08:00
William Cheng
58f817276a
Revert to c73704ce0832fc41210652399bfbb5f1668ec98a
2022-10-19 14:55:11 +08:00
William Cheng
de8d7e98c4
update databind to newer version
2022-10-19 14:52:18 +08:00
Maëlick
41255c1f18
Fix staticcheck ST1005 errors in generated Go client ( #13633 )
...
* Fix staticcheck ST1005 errors in go client
* Samples updated
* sample test fix for openapiv3 petstore go client
2022-10-18 22:46:49 +08:00
William Cheng
4d03c9272b
prepare 6.3.0 snapshot
2022-10-15 15:40:47 +08:00
Beppe Catanese
48928d8efe
[Go] Generate test files ( #13560 )
...
* Process api_test.mustache
* Create api_test.mustache
* Add test and helper method
* Commit all (re)generated files
* Commit all (re)generated files
* Fix indentation
2022-10-07 23:15:09 +08:00
William Cheng
ac7ebf67dd
Prepare 6.2.1 ( #13517 )
...
* update to 6.2.1-SNAPSHOT
* update samples
* update doc
2022-09-25 00:10:30 +08:00
William Cheng
24f476a381
prepare 6.2.0 release ( #13514 )
...
* set release version to 6.2.0
* update samples
* comment out rust server test in travis
2022-09-24 21:44:42 +08:00
Justin Black
7e73645303
Switches python-experimental in as the primary python client ( #13501 )
...
* Changes python to python-prior
* python -> python-prior, python-experimental->python
* Renames sample spec directories
* Samples regnerated
* Regenerates docs
* Fixes test
* Samples regenerated
* Updates renerators list
* Fixes made to python paths in pom.xml
* Fixes node4 sh file paths
2022-09-24 16:19:38 +08:00
William Cheng
928070c57a
Prepare 6.1.1 SNAPSHOT version ( #13399 )
...
* prepare v6.1.1
* update samples
* update doc
2022-09-11 19:08:23 +08:00
William Cheng
43dbb5ff9c
6.1.0 release ( #13398 )
2022-09-11 17:16:07 +08:00
William Cheng
2e89004683
update go samples
2022-08-24 23:43:57 +08:00
jtvmatos
4f94d449dc
fix: Deepcopy fail for allOf schemas ( #13130 )
2022-08-23 23:07:37 -07:00
William Cheng
c26e19cbc0
Revert "Add support for string response deserialization ( #12910 )"
...
This reverts commit b8524bee232a55e28693354ab543b91e3f65629a.
2022-07-21 12:58:46 +08:00
Emanuele Saccomandi
b8524bee23
Add support for string response deserialization ( #12910 )
...
* Add support for string response deserialization
* updated samples
* updated samples
* realigned to master
* fix: errors were not getting thrown
* updated samples
* fix: errors were not getting thrown
* updated samples
2022-07-21 12:45:50 +08:00
William Cheng
6cae0fbb78
Merge remote-tracking branch 'origin/6.1.x'
2022-07-04 01:22:51 +08:00
William Cheng
9e412edb64
Prepare 6.0.1 release ( #12762 )
...
* update to v6.0.1
* update doc
* update samples
2022-07-03 23:36:46 +08:00
Gabriel Mazetto
b97a4ad12a
Generate .gitlab-ci.yml files for Ruby template ( #12750 )
2022-07-03 17:52:32 +08:00