William Cheng
99ddd6d2f2
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-03-30 11:41:09 +08:00
linnefromice
70616b541e
[Ruby] remove duplicated supportingFiles.add ( #9108 )
...
* remove duplicated supportingFiles
* modify examples - remove duplicated supportingFiles
2021-03-29 11:31:24 +08:00
Justin Black
fe52529f05
[python] fix custom model template feature ( #9118 )
...
* Removes colliding __init__model.mustache in PythonClientCodegen.java
* Removes unused files
* Regenerates samples
2021-03-28 11:28:25 -07:00
tomred-net
38b49e77af
fix #8755 [BUG] Java (jersey2) ApiClient debug cannot be enabled ( #8756 )
...
* fix #8755 [BUG] Java (jersey2) ApiClient debug cannot be enabled
* fix #8755 updating samples
2021-03-27 10:01:39 +08:00
William Cheng
47483e60cb
update version to 5.2.0-SNAPSHOT, update samples
2021-03-21 00:10:10 +08:00
William Cheng
0dc62e8b79
Prepare v5.1.1 in the master ( #9027 )
...
* Prepare v5.1.1 in the master
* move dart dio next to configs/other
2021-03-20 23:05:11 +08:00
William Cheng
e023eaa821
Prepare v5.1.0 release ( #9017 )
...
* prepare v5.1.0 release
* update samples (dart-dio-next)
2021-03-20 16:45:05 +08:00
William Cheng
3909505c5b
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-03-13 23:26:43 +08:00
Tyler Ballast
f5151de9fc
Add whitespace to SDK documentation where necessary ( #8919 )
...
* Add a space between table title and the line above it to resolve issues when translating markdown to asciidoc
* Regenerate Samples
Co-authored-by: Tyler Ballast <tyler.ballast@reportix.com>
Co-authored-by: tballast <tyler.ballast@gmail.com>
2021-03-08 21:40:54 +08:00
William Cheng
d96197bcbd
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-03-03 16:19:20 +08:00
Adrien CABARBAYE
a31dba5b88
[GO] use latest available oauth2 version ( #8764 )
...
* [GO] use latest available oauth2 version
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-02-25 02:32:49 +08:00
William Cheng
c653051997
Revert "[Ruby] force users to specify the temp folder path to address security concerns ( #8730 )" ( #8807 )
...
This reverts commit 18a6f5a941f3b5777977693f3b59ac5d200928a8.
2021-02-24 00:31:43 +08:00
William Cheng
1b6cabb97d
[Java] use Files.createTempFile instead ( #8787 )
...
* use Files.createTempFile
* fix import
* add missing import
2021-02-23 11:40:37 +08:00
William Cheng
ea428d6048
update jackson dependencies to address security issues ( #8778 )
2021-02-21 11:40:24 +08:00
William Cheng
ba4aae5074
[Go] bug fix (breaking), minor code format enhancement ( #8715 )
...
* go minor code format enhnacement
* fix required vars in the model new
* remove comma
2021-02-20 11:50:27 +08:00
William Cheng
18a6f5a941
[Ruby] force users to specify the temp folder path to address security concerns ( #8730 )
...
* address security issue when downloading files in the ruby client
* update samples
* fix double quote
2021-02-20 11:49:10 +08:00
William Cheng
53285e5aa5
update samples
2021-02-16 08:15:04 +08:00
David Hontecillas
51c8fd1520
Fix generated go client cannot upload file ( #8393 )
...
* go client send **io.File body
* run generate-samples for Go upload fix
2021-02-16 08:08:27 +08:00
William Cheng
b4f4d7434b
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-02-12 18:48:20 +08:00
William Cheng
3e81876e2c
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-02-06 17:52:32 +08:00
William Cheng
c7fcb39a2d
Prepare v5.0.1 release ( #8627 )
...
* release 5.0.1
* update samples
2021-02-06 16:37:22 +08:00
William Cheng
21d7330aea
update samples
2021-02-06 14:55:43 +08:00
William Cheng
2c457a458e
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
2021-02-02 21:43:53 +08:00
William Cheng
5b99d8724c
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-02-02 21:04:15 +08:00
adpoliak
a4312412fc
[PYTHON] use customized default Configuration() objects if configured by the programmer ( #8500 )
2021-01-29 16:24:10 -08:00
Oleh Kurpiak
f0b9e21b6b
[Java] fix generation for JavaTimeFormatter ( #8348 )
...
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
2021-01-29 11:22:37 +08:00
Justin Black
2553d056dc
Removes nulltype from python, updates samples ( #8555 )
...
* Removes nulltype from python, updates samples
* Removes nulltype from the python requirements
* Removes nulltype import in models, moves requiredVars to optionalVars when approprieate
2021-01-28 09:30:36 -08:00
William Cheng
52065cc1c5
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
2021-01-18 12:40:31 +08:00
William Cheng
53a5bfecfd
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-01-18 11:33:57 +08:00
Johannes Wienke
cd2a0db1ce
Fix counting for large API solutions in generated Python README ( #8403 )
...
* Fix counting for large API solutions
Let 2 follow 1.
* Update Python samples with new readme
2021-01-15 13:51:12 -08:00
Justin Black
c4dbd2cfa3
[python] Fixes file upload + download, adds tests ( #8437 )
...
* Adds tests for file upload and files upload
* Adds test_download_attachment
* Fixes test_upload_file
* Adds download_attachment endpoint
* Adds test_download_attachment
* Updates assert_request_called_with signature
* Samples regen
* Adds upload download file spec route and sample gen
* Fixes file upload for application/octet-stream, writes test_upload_download_file
* Changes if into elif
* Improves python code in api_client
2021-01-15 13:27:33 -08:00
Toby Murray
99144252f7
Migrate off deprecate Gradle configurations ( #8436 )
...
A bunch of gradle configurations have been deprecated, with drop in replacements. Relevant to this project:
compile -> implementation
testCompile -> testImplementation
They're visible by executing e.g. ./gradlew build --warning-mode all with supporting documentation here: https://docs.gradle.org/6.6.1/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
2021-01-15 22:32:50 +08:00
William Cheng
e2ad6dbc1b
[Go] Fix response body ( #8439 )
...
* fix go response body
* add missing import
2021-01-14 23:32:19 +08:00
William Cheng
22ac8faec7
Revert "[GO][Client] return GenericOpenAPIError instead of error in Execute() ( #8137 )" ( #8427 )
...
This reverts commit 1562afea3980484a7f1819c4f51b0d53a44a009f.
2021-01-14 13:59:21 +08:00
Ronny Pfannschmidt
6b6d1b1a97
[python] fix #8404 : avoid shadowing the name Endpoint ( #8405 )
...
if a type was named Endpoint, its import for use in the api would shadow
the name Endpoint for the internal utility
2021-01-13 08:38:41 -08:00
Justin Black
ce893a84ff
Fixes object serialization when there is an inline array property which contains a refed enum ( #8387 )
...
* Fixes object inline enum defintion with refed enum item
* Adds refed array model example w/ serialization + deserialization
2021-01-08 13:15:55 -08:00
William Cheng
64ae0eed04
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
2021-01-09 00:15:53 +08:00
William Cheng
18bec1da28
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-01-08 21:06:47 +08:00
Hippolyte HENRY
a9c168c400
[ruby] Support aliasing of API keys ( #8124 )
...
* Allow aliasing of auth keys
* update sample and add config for feature
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-01-05 20:04:08 +08:00
Nicholas Muesch
00d56375b0
Use Map interface for configureApiKeys ( #7982 )
2021-01-04 10:54:01 +08:00
William Cheng
25b0cbe2f1
Prepare 5.0.1 snapshot ( #8249 )
...
* update version to 5.0.1-SNAPSHOT
* update samples
* update meta codegen
2020-12-21 17:14:18 +08:00
William Cheng
4261252491
prepare 6.0.0 snapshot release
2020-12-21 16:39:40 +08:00
William Cheng
345b68a107
prepare 5.1.0 snapshot release
2020-12-21 16:35:12 +08:00
William Cheng
d7d5e53f2b
Prepare v5.0.0 release ( #8247 )
...
* update to 5.0.0
* update samples
2020-12-21 13:04:11 +08:00
Aanisha Mishra
f766735d5c
[Python][Client] Python model directory init missing ( #8215 )
...
* include model and api dir init mustaches
* update examples
* remove unwanted changes
* revert unwanted changes in sample
Co-authored-by: aani <aani>
2020-12-18 10:13:35 +08:00
Aanisha Mishra
1562afea39
[GO][Client] return GenericOpenAPIError instead of error in Execute() ( #8137 )
...
* error to GenericOpenAPIError
* reformatted files
* reformat files
* spaces to tabs
* update petstore examples
* remove extra brackets
* update sample generation
* update go test cases
* update openapi3 go tests
* edit test samples
* update documentation
2020-12-17 16:39:43 +08:00
Robert Parini
a4f84b2f8c
[Python][Client] Default to system CA instead of certifi ( #8108 )
...
* Use system CA by default and remove certifi
See https://github.com/OpenAPITools/openapi-generator/issues/6506
* Use system CA by default in asyncio client
* Update README_onlypackage.mustache
* Result of ./bin/generate-samples.sh
* Add ssl_ca_cert argument for Configuration
* Result of ./bin/generate-samples.sh
* Remove certifi, use system CA by default
2020-12-15 16:36:35 -08:00
fbl100
99d83712a8
Fixes issue #8014 , _check_type flag not being honored. ( #8053 )
...
* Fixes issue 8014, _check_type flag not being honored.
Updated model_utils.mustache to pass the check_type flag into attempt_convert_item(). Failure to do so
results in type validation errors occurring when the user has specifically requested that they be disabled.
* regenerated samples
Co-authored-by: Frank Levine <frank.levine@blacklynx.tech>
2020-12-07 12:18:16 -08:00
Ülgen Sarıkavak
e00ac502f1
[python] Update python versions ( #8042 )
...
* Remove redundant encoding definitions
UTF-8 is already the default encoding in Python 3.
* Remove Python3.4 related requirements
* Remove dead Python version 3.5
* Add Python 3.9 to CI and test configs
* Update petstore example
2020-12-07 12:07:35 -08:00
itaru2622
35d616c9af
Fix bug [python][client] generated python client code cannot POST object in multipart/form-data ( #8075 )
...
* encode object in json and add content-type:application/json for multipart/form-data
fix issue https://github.com/OpenAPITools/openapi-generator/issues/8068
* update samples by ./bin/generate-samples.sh
* non-ascii chars supported in encoding object to json, and add "content-type:application/json; charset=utf-8"
* update samples again, by ./bin/generate-samples.sh
* update comment(docstring) in parameters_to_multipart according to the discussion in PR review.
* fix default value in parameters_to_multipart function as described in PR review comment.
* update samples again, by ./bin/generate-samples.sh
2020-12-07 09:50:09 -08:00