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
68b944e6e6
Preserve order of securitySchemes ( #14536 )
...
* Remove alphabetical sort
* Update integration testing expectations
* Regenerate files
2023-02-10 22:20:19 +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
William Cheng
0cf5ed619d
Add a new Python client generator - python-nextgen ( #14157 )
...
* add python-nextgen generator
* remove client_side_validation from model
* remove configuraiton import from models
* add inheritance support
* update test requirements, tox
* add typings, pydanic to models
* add test model
* minor improvements
* add enum support
* add typing for parameters, remove validations
* add oneof, anyof support
* fix default value
* fix deserialization, api tests passed
* private variable naming, update tests, all tests passed
* remove six
* remove nose
* update doc
* remove sortParamsByRequiredFlag option
* add parameter validation
* add validation tests
* simplify Field()
* remove previous required parameter validation
* improve parameter handling
* support discriminator mapping
* better typing discriminator mapping
* format test code
* fix tests
* fix oneOf from_dict, add test
* add set validation test
* fix nested oneof serialization, add tests
* add model import
* remove models. prefix
* remove import models
* remove model import from api
* simplify from_dict
* add typing for return
* skip pydantic import in return type
* fix tests, fix enum
* restore more enum schema tests
* uncomment enum integer test
* clean up getfullargspec import in model
* clean up getfullargspec import
* fix deserilizatoin for nested oneof
* minor fixes, add tests
* fix regular expression
* add aiohttp samples, add tests
* remove default content type to json
* update template
* fix select accept, content-type
* move tests
* move tests
* fix url query parameters
* fix list
* fix samples
* fix param pydantic, add list as reserved word
* fix auto-generated doc
* fix readme
* fix list, fix special variable name with var_
* fix Literal in python 3.7
* fix default configuration
* fix aiohttp tests
* set default api client instance
* deprecate get_default_copy method
* fix enum model
* fix enum serializatio/deserialization
* add github workflow support
* add regular expression validator
* add enum validator
* better model import
* fix file, remove x-py-import-models
* rename local var
* better model example
* fix regular expression warning, add special_name test, whitelist schema
* skip self import
* update samples
* various fixes
* add base64, json as reserved word
* add http signature support
* add http signature test
* add additioanl properties support in python client
* add decimal support
* use strictstr instead of constr
* fix test with virtualenv
* add nullable support
* add readonly support
* add model name caching
* fix circular reference import
* add onelook discriminator lookup
* add tests
* update samples
* fix locale
* Fix client legacy generator asyncio README code example
* test python-nextgen in circleci
* fix pom.xml
* update python to 3.7.15
* test with python 3.7.12
* various updates
* fix python legacy
2022-12-17 16:05:47 +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
Julian Taylor
3dc8403e10
[Python] pass api_client configuration to model deserialize ( #13922 )
...
The if not passed the models create a new configuration object which
configures logging and determines cpu count every time.
This causes extreme performance issues when deserializing larger sets of
items.
See also
https://github.com/kubernetes-client/python/issues/1921
2022-11-07 09:05:14 +01:00
William Cheng
4d03c9272b
prepare 6.3.0 snapshot
2022-10-15 15:40:47 +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
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
devhl-labs
7e4fa70067
Update allOf to not always be nullable ( #12861 )
...
* added nonNullableVars
* added return property to operation
* added return property to operation
* build samples
* added inner enum
* build samples
* allOf no longer always nullable
* added a comment
2022-08-16 00:47:51 +08:00
Thomas Hansen
1e3a39b460
[PHP] Add support for server variables in operations ( #12982 )
...
* [FEATURE] Support for server variables in operations
* [AUTOGENERATED] update samples
* [PHP] Added tests for server variables in operations
2022-08-04 00:15:51 +08:00
William Cheng
5bd94b8fa0
prepare 6.1.x
2022-05-26 12:58:25 +08:00
William Cheng
36a9cf394d
update samples ( #12466 )
2022-05-26 12:13:59 +08:00
William Cheng
69f79fb789
Prepare 6.0.0 release ( #12463 )
...
* prepare 6.0.0 release
* update samples
* update meta codegen
2022-05-26 10:28:01 +08:00
William Cheng
12cdacabbf
[Inline model resolver] better handling of inline responses and bug fixes ( #12353 )
...
* better handling of inline response schemas, bug fixes
* update samples
* add new files
* better code format
* remove unused ruby files
* fix java test
* remove unused js spec files
* remove inline_response_default_test.dart
* fix webclient tests
* fix spring tests
2022-05-13 10:17:59 +08:00
William Cheng
4ee5f72214
Use LinkedHashMap for deterministic iteration order ( #12230 )
...
* to LinkedHashMap
* LinkedHashMap
* allModels to LinkedHaskMap
Co-authored-by: yilinwang <linda.yilin@gmail.com>
2022-04-25 13:33:24 +08:00
William Cheng
8330e16d66
Better inline model resolver to handle inline schema in array item ( #12104 )
...
* better support of inline schema in array item
* update tests
* update samples
* regenerate samples
* fix allof naming, remove files
* add files
* update samples
* update readme
* fix tests
* update samples
* update samples
* add new files
* update test spec
* add back tests
* remove unused files
* comment out python test
* update js test using own spec
* remove files
* remove unused files
* remove files
* remove unused files
* better handling of allOf with a single type
* comment out go test
* remove test_all_of_with_single_ref_single_ref_type.py
* fix inline resolver, uncomment go test
2022-04-20 10:28:15 +08:00
Peter Leibiger
478ed9b8ed
Add a sample of an enum model array in query params ( #12107 )
2022-04-12 13:53:51 +08:00
Peter Leibiger
15e9d4ed8c
Add example allOf with single ref ( #10948 )
...
* Add example allOf with single ref
* fix dart-dio-next handling of that case
* Refactor without vendor extension
* Regenerate newer samples
2022-04-12 13:52:53 +08:00
William Cheng
2d4a01aa70
Revert "Prepare 6.0.0 beta release ( #12039 )"
...
This reverts commit 914b539eea7097ad2b4323d20c8f95144782cb68.
2022-04-04 12:17:12 +08:00
William Cheng
914b539eea
Prepare 6.0.0 beta release ( #12039 )
...
* update to 6.0.0-beta
* update samples
2022-04-04 10:29:49 +08:00
Daniel Qian
41451ff5ee
fix #11958 [BUG] python generates wrong model name and model file name ( #11959 )
...
* fix #11958 [BUG] python generates wrong model name and model file name
Modify AbstractPythonCodegen.toModelName just like AbstractJavaCodegen.toModelName
* add unit test
* update samples and docs
by
./bin/generate-samples.sh
./bin/utils/export_docs_generators.sh
* fix AbstractPythonCodegen#toModelName logic, remove underscore
* update samples and docs
by
./bin/generate-samples.sh
./bin/utils/export_docs_generators.sh
2022-04-01 19:43:08 -07:00
Matthew Fernandez
61245fc52b
[Python] abbreviate dictionary membership testing idiom ( #11905 )
...
This is a more brief and efficient way of accomplishing the same thing.
2022-03-23 01:28:02 +08:00
Kuan-Yin Chen
ab63786610
[Python] remove default content-type in the request ( #10782 )
...
* remove default content-type in the request
* add remove default content-type test
* fix duplicate content type
* update sample
* add missing params
* update sample
* only assign content type if exist
* update sample
* update sample
* format code
* update sample
2022-02-24 12:08:49 +08:00
William Cheng
df05e6f4bc
Update parser to 2.0.29 ( #11388 )
...
* update parser to 2.0.29
* better handling of null in dereferencing
* update parser to 2.0.30
* update core to newer version
* add new files
* rollback to previous stable version
* remove files
* Fixes for python-experimental NullableShape component
Co-authored-by: Justin Black <justin.a.black@gmail.com>
2022-02-21 18:37:52 +08:00
William Cheng
5346d0b6b7
update samples
2022-02-14 11:45:12 +08:00
jiangyuan
dce8b80af7
[Python] fix api file name & api var name ( #11051 )
...
* fix api filename
* fix PythonCodeGen toApiVarName
* add samples change
2022-02-14 11:27:13 +08:00
William Cheng
c8b84c4d03
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-30 18:01:35 +08:00
Justin Black
ffe5df8fa1
Turns python-legacy CI back on in circle, fixes python-legacy test ( #11326 )
...
* Turns python-legacy CI back on in circle, fixes python-legacy test
* Installs python 2.7 into circleci node 3
* Python 2.7 version changed to 2.7
* Switches back to py2714
2022-01-16 17:12:38 +08:00
Amelia Raia
d8cb6bd894
Allow the user to pass in any headers per request. #11139 ( #11140 )
...
* [Python] Allow the user to pass in any headers per request
* Update docs
* Update docs
Update Docs _headers
* Add test
Co-authored-by: Rizwan Saeed <rizwan.saeed@finbourne.com>
2022-01-13 15:25:40 -08:00
carmenquan
478219744e
Making PyPi markdown friendly requires additional property ( #11093 )
...
* updating python markdown property
* adding to samples
2022-01-09 08:22:11 -08:00
Justin Black
ac55ac9d55
Samples and docs regenerated ( #11194 )
2021-12-28 11:39:13 -08:00
William Cheng
6269a9810c
Prepare 5.3.1 release ( #11161 )
...
* prepare v5.3.1 release
* update samples
2021-12-21 18:20:13 +08:00
William Cheng
e00efe7c8d
Merge remote-tracking branch 'origin/5.4.x' into 6.0.x
2021-12-07 00:12:13 +08:00
William Cheng
2b7910c875
Merge remote-tracking branch 'origin/master' into 5.4.x
2021-12-06 23:57:07 +08:00
Tomasz Prus
ca848871da
[Python] Add missing Mock library for Python 2.7. ( #10939 )
...
* [Python] Add missing Mock library for Python 2.7.
* Update template for test-requirements.txt.
2021-11-24 15:54:25 +08:00
Tomasz Prus
e9f2ccde67
[Python] Add option to select content-type using body or force it for… ( #10686 )
...
* [Python] Add option to select content-type using body or force it for API call
* Add support for application/json-patch+json
* Add unittests.
2021-11-22 08:41:04 -08:00
WILLIAM CHENG
42f4e863b7
prepare 5.4.0-SNAPSHOT
2021-10-25 12:13:33 +08:00
William Cheng
378465702c
Prepare v5.3.1 in the master ( #10681 )
...
* prepare v5.3.1
* update doc
* update readme
2021-10-25 01:16:07 +08:00
WILLIAM CHENG
afacdb229a
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-10-23 10:16:27 +08:00
Tomasz Prus
b1950dd488
[Python] Remove virtualenv deprecated option from test scripts. ( #10666 )
...
* [Python] Remove virtualenv deprecated option from test scripts.
* [Python/asyncio] create venv with Python 3.x
2021-10-22 17:32:44 -07:00
William Cheng
acd747ca6d
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-09-22 12:13:44 +08:00
William Cheng
477e2365c7
improve git_push.sh ( #10356 )
2021-09-09 12:49:03 +08:00
Peter Leibiger
a558554961
Add OAS3 allowEmptyValue for query params ( #10312 )
...
* add the special case of empty query parameters to the fake API
2021-09-03 16:32:51 +08:00
William Cheng
0357b80f19
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-09-01 14:16:17 +08:00
Nathan Baulch
5d68bd6a03
Fix thousands of spelling typos ( #10272 )
2021-08-28 22:58:24 +08:00