William Cheng
53289263d9
Prepare v7.2.0 ( #17050 )
...
* update version to 7.2.0-SNAPSHOT
* update samples
* update doc
2023-11-13 18:53:20 +08:00
Dawson Akins Conway
244a3b4c13
[ruby] Make File Downloads Threadsafe ( #16876 )
...
* Make Generated Ruby Code Threadsafe
* missed one
* Generate Samples
2023-10-28 20:31:18 +08:00
Ivan Giuliani
ae590c4712
[Ruby] Add support for populating a gem metadata ( #16872 )
...
* [Ruby] Add support for gems metadata
This defaults to an empty hash, but can be overridden with any custom
object by the callers via the `gemMetadata` property.
* Regenerate samples
The gemspecs files will now include a metadata field
2023-10-23 22:05:19 +08:00
Tiago
822568b664
ruby client adapter for httpx ( #16718 )
...
* added isTyphoeus property to remove negations on isFaraday
* adding httpx support as alternative library for ruby client
* updated samples
2023-10-05 12:17:18 +08:00
William Cheng
5e8e2d7f6d
Prepare v7.1.0 in master ( #16608 )
...
* prepare v7.1.0 in master
* update
2023-09-18 17:37:36 +08:00
William Cheng
55252f4b25
update ruby samples
2023-08-28 15:17:05 +08:00
William Cheng
80121aa88f
Prepare v7.0.1 ( #16409 )
...
* prepare 7.0.1 in master
* update doc
2023-08-25 16:11:29 +08:00
Cameron Koegel
54d996732f
[Ruby] Fix Operation Servers ( #16144 )
...
* [Ruby] Fix Operation Servers
* user `server_index` instead of `index`
* use nil as default
* add tests
* revert tests
* add tests to custom file
* add test file to ruby-faraday
2023-07-25 12:18:23 +08:00
William Cheng
780d266fe1
Decommission python client generator ( #15486 )
...
* decomission python client generator
* udpate
* update doc
2023-05-14 16:33:13 +08:00
William Cheng
0c3460f95b
Merge remote-tracking branch 'origin/master' into 7.0.x
2023-05-10 15:00:56 +08:00
Tiffany Marrel
c251202869
[Python] cleanup documentation ( #15301 )
...
* [Python] fix documentation of API authorization in README files
fix hierarchy level + add internal links + align wording across generators
* [Python] fix anchor links in documentation
2023-05-09 16:24:56 +00:00
Tiffany Marrel
2b19d5f94d
[Ruby] fix documentation of API authorization in README files ( #15353 )
...
align wording across generators
2023-05-09 14:17:34 +08:00
Tiago Silva
56495d1486
Python Allow clients to define TLS Server name when using ( #15283 )
...
This PR allows users to define custom SNI when using the python clients
Fixes https://github.com/OpenAPITools/openapi-generator/issues/15282
2023-05-05 16:11:57 +08:00
Ivo Wever
2679819694
[Ruby] Client: fix base_url when no server_operation_index is defined ( #15162 )
...
As discussed in https://github.com/OpenAPITools/openapi-generator/pull/7415#discussion_r1113274416 , it seems unlikely the code was correct.
server_operation_index is a hash table. In Ruby, `hash[key]` will return the value associated with `key`. If key is absent, `nil` is returned. Because that is sometimes undesirable, there is also `hash.fetch(key)`, which raises an error if the key is absent. It also allows you to specify a default to fall back on: `hash.fetch(key, default)` will return `default` if the key is absent.
So, since not all users will specify a 'server per operation' (or at least: I'm not), the old code would usually set `index` to the `server_index`, which is initialized to 0. The subsequent `if index == nil` will usually return false (`0 != nil` in Ruby), after which the `server_url` call on line 177 constructs the url based on the `server_operation_variables` and `operation_server_settings`, assuming we are dealing with the case where a server per operation is configured. The case where the url should be constructed from `scheme`, `host`, etc. is only called if either `server_index` is explicitly set to `nil` or the key `operation` is explicitly associated with the value `nil` in the `server_operation_index` hash table, both of which seem inappropriate.
2023-04-21 11:11:42 +08:00
William Cheng
935146d187
Merge remote-tracking branch 'origin/master' into 7.0.x
2023-04-12 17:51:47 +08:00
Takeshi Masaki
5e3bb7e33e
[Ruby] fix RSpec documentation URL ( #15164 )
2023-04-10 10:44:28 +08:00
William Cheng
5d1e18306a
Prepare 6.6.0-SNAPSHOT ( #15100 )
...
* set 6.6.0 snapshot version
* update samples
* update readme
2023-04-01 18:48:01 +08:00
William Cheng
7417432a54
Prepare 6.5.0 release ( #15099 )
...
* 6.5.0 release
* update samples
2023-04-01 15:03:35 +08:00
William Cheng
1beec7ef87
Merge remote-tracking branch 'origin' into 7.0.x
2023-03-03 21:52:50 +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
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
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
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
Justin Black
45b1f91807
[python] Fixes Response TypeError ( #14299 )
...
* Fix and sample regen
* Response with only header added, sample regnerated
2022-12-20 12:42:10 -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
Justin Black
28ae689615
[python] Fixes Configuration w/ access_token at initialization ( #14153 )
...
* Fixes templates
* Samples regenerated
* Adds discard_unknown_keys back in, regenerates samples
2022-11-30 11:09:31 -08:00
Justin Black
871eda2731
[python] exposes deserialized bodies for non-2XX responses ( #14095 )
...
* Template update and sample update
* Samples regenerated
* Adds verification test
* Template update
* Samples regen, fixes exception instantiation
2022-11-22 09:35:26 -08:00
Justin Black
1748d03fb9
[python] Issue 13997 fix pass in model instances to new ( #14067 )
...
* Template update
* Adds test file
* Samples regenerated
* Adds missing #
2022-11-18 15:04:26 -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
Mustansir Soni
4667b7e471
[ #13954 ] Allows args and arg as schema properties in python client ( #13955 )
...
* Add args to reserved words
* arg and args to _arg and _args in templates
* Corrections
* Test added
* Corrections
* Use arg and args as defined properties
* Removed unnecessary assertion
* Suggested change
2022-11-09 11:10:29 -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
Justin Black
b35ea31e82
[python] fixes multipart/form-data bug ( #13926 )
...
* api_client template updated
* Samples regenerated
* Fixes tests
* Adds missing test file
* Adds test fix
2022-11-05 09:10:24 -07:00
William Cheng
558ae9373d
Merge remote-tracking branch 'origin/master' into 7.0.x
2022-11-01 21:01:06 +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
Justin Black
ac3bb6830a
[python] Fixes endpoint overload type hint + required property not in properties ( #13790 )
...
* Adds endpoint overload type hint fix to template
* Samples regenerated
* Adds fix for required property not in properties
* Regenerates samples
2022-10-21 18:50:30 -07:00
David Chaiken
c22715ad1f
fix for issue #13722 : send body for application/x-www-form-urlencoded data ( #13723 )
...
* fix for issue #13722 : send body for application/x-www-form-urlencoded data
* fix python test_application_x_www_form_urlencoded_serialization
* x-www-form-urlencoded data needs to be percent encoded
* add verification endpoint test for x-www-form-urlencoded data
Co-authored-by: David Chaiken <dchaiken@pinterest.com>
2022-10-18 18:51:35 -07:00
William Cheng
2bac0a8d99
Merge remote-tracking branch 'origin/6.3.x' into 7.0.x
2022-10-16 21:27:53 +08:00
William Cheng
4d03c9272b
prepare 6.3.0 snapshot
2022-10-15 15:40:47 +08:00
Justin Black
ef8e55ca21
[python] client bug fixes + type hint improvements ( #13665 )
...
* Adds python client, template, and spec updates for query param content type json
* Samples regenerated
* Finishes adding test cases for query param json content type
* Uses newest templates
* Templates replaced, spec replaces, sample replaced
* Samples updated
2022-10-10 20:13:31 -07:00
Justin Black
57f5cc4000
[python] fixes bugs ( #13581 )
...
* Adds bug fixes
* Samples and docs regenerated
* Samples regenerated
2022-10-03 11:15:16 -07: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
jtvmatos
4f94d449dc
fix: Deepcopy fail for allOf schemas ( #13130 )
2022-08-23 23:07:37 -07:00