William Cheng
5eb67d471b
Merge remote-tracking branch 'origin/4.2.x' into 5.0.x
2019-09-22 21:00:38 +08:00
William Cheng
3019b5a5e1
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-09-22 14:18:07 +08:00
William Cheng
ea029b4029
update doc, samples ( #3875 )
2019-09-11 21:17:11 +08:00
William Cheng
3ebefccfa9
Prepare v4.1.2 release ( #3873 )
...
* update samples
* update date
2019-09-11 18:33:27 +08:00
Benjamin Simpson
239d68df36
[Java][okhttp-gson] fix failure to deserialize floats ( #3846 )
...
* fixed bug where nullApi.java would be generated. Instead, generated DefaultApi.java to match the default path /{pathParam}
* fix to bug #3157
* update samples
2019-09-07 12:36:19 +08:00
Quim Muntal
8f13b88ed9
Support custom git repository ( #3757 )
...
* add gitHost param to GeneratorSettings and related
* parameterize gitHost in READMEs
* parameterize gitHost in go.mod
* parameterize gitHost in git_push
* update petstore samples
* run ./bin/utils/export_docs_generators.sh
* run meta-codehen.sh
* Revert "run meta-codehen.sh"
This reverts commit d6d579f6159186531257cdfdd73b9caf9e9ffeba.
* Revert "run ./bin/utils/export_docs_generators.sh"
This reverts commit 1b81538198d4319fd1b4e97447303e3cc0e8dc99.
* Revert "update petstore samples"
This reverts commit f513add88396707f6991ae2e4920359583ec88f1.
* run ensure-up-to-date
2019-09-03 21:35:49 +08:00
William Cheng
a8fe5d355c
Merge remote-tracking branch 'origin/4.2.x' into 5.0.x
2019-08-29 14:48:00 +08:00
William Cheng
9182784955
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-08-28 14:01:20 +08:00
William Cheng
d0d545bbdd
Prepare 4.1.2 snapshot ( #3758 )
...
* update pom
* update samples
* update ts axios samples
2019-08-26 22:13:12 +08:00
William Cheng
cd6b844d75
update python samples
2019-08-25 18:05:37 +08:00
Qingping Hou
99fcfbc802
[Python] support api key refresh in configuration module ( #3594 )
2019-08-15 22:06:36 +08:00
William Cheng
c3535cf9ca
Add test cases to cover different collection formats ( #3640 )
...
* add test cases to cover different collection format
* add space params to retrofit 1.x
* add space params to retrofit 2.x
* rename url to localVarUrl
* fix exception in haskell servant
2019-08-15 11:09:12 +08:00
Qingping Hou
850c493c63
[Python] avoid unnecessary dictionary lookup in get_api_key method ( #3592 )
2019-08-13 13:55:45 +08:00
William Cheng
01222268e8
update samples
2019-08-11 18:56:47 +08:00
William Cheng
5956569e7a
Prepare 4.1.1-SNAPSHOT ( #3603 )
...
* update pom
* update samples
* update pom
2019-08-10 09:41:08 +08:00
wing328
8fd4539836
Merge remote-tracking branch 'origin/4.1.x' into 5.0.x
2019-07-02 22:48:41 +08:00
wing328
9df5bdabc8
Merge remote-tracking branch 'origin/master' into 4.1.x
2019-07-02 22:48:09 +08:00
Sai Giridhar P
6578cef260
[python] : Make example code snippet compilable ( #3148 )
...
* feat(python): Making example compilable
* feat(python): Updating pet project
* feat(python): Updating comments
* feat(documentation): Fixing comments style
* feat(documentation): Updating documentation
* feat(documentation): Fixing comments style
2019-06-28 17:53:25 +08:00
wing328
a48d7f77fb
Merge remote-tracking branch 'origin/4.1.x' into sync_41x_50x
2019-06-27 18:27:20 +08:00
wing328
7534df4520
Merge remote-tracking branch 'origin/master' into 4.1.x
2019-06-26 16:01:23 +08:00
William Cheng
8e11fd9fe4
Prepare 4.0.3-SNAPSHOT ( #3185 )
...
* update version to 4.0.3-SNAPSHOT
* update readme
* update gradle, maven plugin
* update release schedule
* update samples
2019-06-20 18:50:49 +08:00
William Cheng
46da7fe0e9
Merge remote-tracking branch 'origin/4.1.x' into 5.0.x
2019-06-03 09:28:51 +08:00
sylvainmoindron
7916f2f880
[kotlin-spring] add reactive behavior via Kotlin coroutines ( #2934 )
...
* kotlin spring : add reactivity via kotlin's coroutines
* add kotlin spring boot reactive samples
* bug : fix spring version and import for coroutines
* remove exception handler for reactive (webflux doesn't support it)
* add spring milestone repository to maven pom
* add reactive type for list in Api and ApiImpl methodes for mathching body responsive parameter
* fix baseType for ArraySchema
* regenerate samples
* updating documentation
2019-06-02 15:50:45 -04:00
William Cheng
7e457f7e41
sync master
2019-06-03 00:32:13 +08:00
William Cheng
8d3a1a5add
Merge remote-tracking branch 'origin/master' into 4.1.x
2019-06-03 00:06:43 +08:00
Jérémie Bresson
dc81574f2b
Update version to 4.0.2-SNAPSHOT ( #3047 )
...
* Update version to 4.0.2-SNAPSHOT
* Update samples
* Change AppVeyor script (test of gradle sample)
* Fix release version bump script (gradle plugin, sample poms)
* Include sonatype snapshots in maven examples which reference 4.0.2-SNAPSHOT
2019-06-01 21:32:44 -04:00
Sai Giridhar P
e3bc228dd5
[python] Adding constructor parameters to Configuration and improving documentation ( #3002 )
...
* feat(python): Updated configuration's constructor and documentation
* feat(python): Updated documentation
* feat(python): Updated pet project
* feat(python): Updated pet project
* feat(python): Fixing host
* feat(python): Updating pet project
* feat(python): Fixing indentation
2019-05-30 00:50:26 +08:00
Shenghan Gao
268196e7f6
[Python] Remove unnecessary if else. ( #2985 )
...
* Remove Unnecessary `if else`
* update samples
2019-05-25 00:10:11 +08:00
William Cheng
94fc0474b9
update version 5.0.0-snapshot and samples
2019-05-15 01:54:29 +08:00
William Cheng
24187b8186
update petstore samples
2019-05-15 00:10:03 +08:00
William Cheng
cbe39ba881
Set version to 4.0.1-SNAPSHOT ( #2882 )
2019-05-14 10:28:32 +02:00
William Cheng
dc0c24b955
Minor wording change ( #2875 )
...
* better wording for version of openapi doc
* update petstore samples
2019-05-13 15:59:59 +08:00
Matthieu Berthomé
ee43cc1520
handle composed schemas in InlineModelResolver ( #2112 )
...
* handle composed schemas in InlineModelResolver
* fix unit test -> TestUtils.parseSpec
* update samples
* fix samples
* update samples
* update samples
* add new files
2019-05-08 10:19:15 +08:00
Matthieu Berthomé
f0346aeeb2
python: api_client: add the multipart files after sanitization ( #2122 )
...
* python: api_client: add the multipart files after sanitization
* simplify prepare_post_parameters
* fix case of both post params and files set
* update samples
* update samples
2019-05-07 21:27:01 +08:00
Sebastien Arod
567eb6cdd3
[Bug][Python]Support body as bytes when Content-Type is unknown ( #2626 )
...
* Support body as bytes when Content-Type is unknownfix #2623
* Revert unwanted import changes
* update samples/openapi3
2019-04-27 01:45:34 +08:00
Tim Bedard
3d92ea0eda
[Bug] [Python] Fix #2092 python docs example quoting ( #2669 )
...
* replaced setParameterExampleValue method
* removed old method
* fixed bool, test fix for objects
* continued fix
* double override
* regenerated petstore client
* regenerated oas3 sample
* updated asyncio and tornado generated clients for CI
2019-04-17 10:49:50 +08:00
Gaurav Yadav
ee75366051
Added proxy headers option for urllib3 ( #2467 )
...
* adding headers option to pass in rest client
* running ensure uptodate
2019-03-22 11:22:10 +08:00
Justin Black
b1955f3517
Adds exceptions module to python clients ( #2393 )
...
* Adds python client exceptions module and updates samples
* Adds python style updates, detects integers in exception paths with six
* Updates to ruby samples which circleci needs
* Removes petstore-security-tests samples
* readme char removal (triggers ci tests)
* Readme fix, triggers CI tests
* Updates python client sample
2019-03-22 10:40:32 +08:00
Gaurav Yadav
45ad72b032
Adding retries option to override default value 3 of urllib3 ( #2460 )
...
* adding retries option to override default value 3 of urllib3
* running petstore for python
* adding files for samples in petstore run
* running ensure-up-to-date
2019-03-22 08:24:23 +08:00
Justin Black
b67318ef21
Adds spec additionalProperties + nullable examples ( #2405 )
...
* Adds v2 spec additionalproperties examples, adds v3 spec nulllable model example, updates samples
* Remaining samples updates
* Adds csharp generator update to handle models with multilevel parent types, which works for the AdditionalPropertiesObject model, samples updated
2019-03-20 15:31:28 +08:00
Tom Ghyselinck
83bc863b2b
Python apikey cookie ( #2367 )
...
* The `ApiClient` will now have support to store and use HTTP Cookies (as APIKey auth).
* Use Cookie authentication for user management.
* - Updated Python related samples.
2019-03-14 16:33:35 +08:00
William Cheng
8e7ad9c9b6
Removal of number being default to example in python client ( #2228 )
...
* remove number default to example in python client
* update python samples
2019-02-25 16:44:38 +08:00
Vincent Devos
7486438491
pyhton sample cleanup models unused ( #2219 )
...
* pyhton sample cleanup models unused
* pyhton sample cleanup models unused tests
2019-02-23 23:40:06 +08:00
William Cheng
f2002b25da
[Python] remove default value from being fallback to example ( #2213 )
...
* remove example fallback
* reset test case
2019-02-22 20:44:27 +08:00
William Cheng
36fa7102dd
[Python] Add "servers" support in path, operation ( #2052 )
...
* add servers to path, operation
* add path/operation server support to python client
* update python samples
* fix index
* fix python code style
2019-02-08 11:48:37 +08:00
William Cheng
2eb99f602a
Add Bearer authentication support to Python client ( #1999 )
...
* add bearer auth support to python
* add bearer auth support to python
* update python oas2 petstore samples
* update samples
* add bearer format
* update php symfony samle
2019-01-30 22:16:53 +08:00
William Cheng
7811390b7b
Add multiple servers support to Python client ( #1969 )
...
* add multiple server support to python client
* various fixes
* minor fixes, add tests
* test oas2 python first
* fix tests
* fix issues reported by flake8
* update code format
* add python petstore to ensure up-to-date
* rearrange test
* fix E501
* fix tests
* add new files
* fix script permission
* fix index check
* update samples
2019-01-28 11:24:48 +08:00
Justin Black
9ec594eec5
[Spec] adds XmlItem model and route for xml testing ( #1883 )
...
* Adds xmlitem model and route, rest-assured Api suffix fix, updates pytest and pytest-cov versions
* Adds python client sample files
* Adds samples update
* Adds rest-assured sample client update
* Adds sample updates in ensure-up-to-date
* Changes rest-assured files back to master version, removes fix for issue #13
* Updates samples
2019-01-26 17:26:38 +08:00
Justin Black
539ec23298
[python-client] Add model default values ( #1776 )
...
* Adds two models to the v2.0 spec, uses examples as defaults in python client
* Adds array default and type_holder_default and type_holder_example tests
* Re-generated python security client with ./bin/security/python-petstore.sh
* Changes comment text, rebased master
* Updates client + server samples
* Adds missing samples updates
* Changes python client to look for true or false with booleans in toDefaultValue
* Changes boolean casting to use Boolean.valueOf
* Adds deserialization fix for python tests
* Changes Mock to namedtuple in python deserialization tests
* Actually remove unittest.mock
2019-01-09 11:18:35 +08:00
Tomasz Prus
89a0ffa66c
feat: [python/asyncio] use ssl argument instead of ssl_context (deprecated from aiohttp>=3.0.0) ( #1724 )
2018-12-21 09:52:27 +08:00