gbmarc1
c966b5fe1f
[python] readonly constructors ( #9409 )
...
* readonly
* other tests
* doc
* python samples
* model utils
2021-05-10 18:41:26 -07:00
William Cheng
3e58b0908c
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
2021-04-28 18:08:24 +08:00
William Cheng
37eaf70755
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-04-28 17:48:21 +08:00
gbmarc1
8e0955fd3c
Bug - python client deserialization when attribute named self
( #9006 )
...
* fix by mapping outside of class
* tests
* regeneration and tests
* server
* INDENT
* a
* enable mapping
* Revert "server"
This reverts commit 6fc9712fb550d258d0332df243ea5080565c6770.
* Samples regenerated
Co-authored-by: Justin Black <justin.a.black@gmail.com>
2021-04-10 19:00:32 -07:00
mazrean
01ff635139
[Go] Fix golang comment typos ( #9207 )
...
* fix go comment typo insensitive
* fix go comment typo response
* update samples
2021-04-08 09:59:31 +08:00
Justin Black
fc58adee31
Fixes serialization of array items in model_to_dict [python] ( #9153 )
...
* Adds tests of endpoint with inline and refed model
* Regen samples
* Samples regenerated
2021-04-01 13:34:19 -07:00
Justin Black
6cc270633b
[python] Fixes additional_properties_type for models ( #8802 )
...
* Fixes additionalProperties values for models, updates docs, adds tag test of it, fixes frit and gmfruit tests
* Moves this.setDisallowAdditionalPropertiesIfNotPresent higher
* Makes setting additional_properties_model_instances contingent on the presence of addprosp in schema, updates sample spec composed schemas to remove addprops False form two
* Fixes oneOf anyOf allOf instantiation logic
* Removes Address from Cat definition
* Adds required vars for apple and banana, removes required vars from composed schema init sig
* Updates composed schema vars to be set on self and all composed instances
* Removes get_unused_args, get_var_name_to_model_instances, and get_additional_properties_model_instances
* Fixes fruit + deserilization tests, creates ComposedSchemaWithPropsAndNoAddProps
* Fixes FruitReq tests
* Fixes GmFruit tests
* Fixes discard_unknown_keys tests
* Samples updated
* Removes additionalproperties False in Child
* Samples updated
* Improves handling of v2 and v3 specs for isFreeFormObject, v2 sample spec updated with link to bug
* Adds cli option disallowAdditionalPropertiesIfNotPresent to python
* Adds getAdditionalProperties method so the value for addProps will be correct
* Reverts file
* Reverts file
* Updates python doc
* Reverted anytype_3 definition
* Updates test_deserialize_lizard
* Updates test_deserialize_dict_str_dog
* Updates testDog
* Updates testChild
* Adds v2 python_composition sample
* Adds needed files for python testing
* Adds existing tests into the new python sample
* Fixes test_dog
* Removes addProps false form Dog
* Fixes testChild
* Updates how additionalProperties are set
* Fixes empty_map type
* Type generation fixed for v2 and v3 specs
* Refactors getTypeString, updates artifactids in pom.xml files
* Adds new python sample to CI testing I think
* Fixes artifactId collision, regenrates docs
2021-03-31 08:48:12 -07:00
William Cheng
a35e9b590c
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
2021-03-30 13:18:35 +08:00
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