WILLIAM CHENG
3594b3452d
Merge remote-tracking branch 'origin/5.4.x' into 6.0.x
2021-10-25 13:31:12 +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
bb124e1178
Prepare v5.3.0 release ( #10680 )
...
* prepare 5.3.0 release
* remove docker-tag-latest-release
v5.3.0
2021-10-24 22:22:29 +08:00
William Cheng
602cffbb13
[java][okhttp] Add CI tests for streaming ( #10678 )
...
* add ci tests for streaming
* use spaces instead of tabs
* update samples
2021-10-24 18:59:15 +08:00
William Cheng
fcef9fab63
update doc for java useAbstractionForFiles option ( #10677 )
2021-10-24 16:21:28 +08:00
William Cheng
8069d183f3
[Java] Add streaming endpoint support ( #9813 )
...
* add streaming endpoint support to java client
* update doc
2021-10-24 16:02:49 +08:00
WILLIAM CHENG
1cd591bf7d
update doc
2021-10-24 12:28:46 +08:00
Troy P
91d0e2dad0
( fix #9673 ) This change introduces a flag to have tests generated under the pythonSrcRoot directory if it's specified. ( #9674 )
...
This change also introduces AssertJ as a new dependency.
2021-10-24 12:22:18 +08:00
William Cheng
2413783288
update build.gradle to work with gradle 7.x, add test ( #10669 )
2021-10-24 12:19:52 +08:00
William Cheng
ec2ed98269
better comment/docstrings in jersey2 apiclient ( #10668 )
2021-10-24 12:19:20 +08:00
William Cheng
bb37a71d06
update dependencies in build.sbt to newer versions ( #10667 )
2021-10-23 16:17:46 +08:00
Maciej Sitarz
2875c7e14d
Improve Apache Httpclient support ( #10624 )
...
* Move apache-httpclient templates to proper dir
* Add template for Gradle
* Fix few JavaDoc compile warnings
* Add properly generated samples
* Empty just trigger PR checks rebuild
2021-10-23 14:57:32 +08:00
cyangle
27459b5003
[crystal] Fix some issues in crystal client templates ( #10629 )
...
* Fix some issues in crystal client templates using google drive v3 oas3 api spec
* update crystal petstore sample code
* Address PR comments
Raises on unsupported feature
clean up extra new lines in partial_model_enum_class.mustache
* Use size instead of length
length is undefined for String or Array
* Fix typo
* Use default value instead of nil
* remove unused template file
* Use ::File instead of File as file type to avoid conflicts
The spec could also have a File model
* support file upload in multipart/form-data post body
* Revert breaking changes in api template
* Use double quotes to quote string values
single quotes are used for single char in crystal
* Update api_client to use global ::File and update petstore samples
* JSON Annotation Field key's value should be double quoted
* Handle nil values for form_params
* Remove default values from method definitions due to grammar error
* Fix integration tests
2021-10-23 11:34:08 +08:00
WILLIAM CHENG
afacdb229a
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-10-23 10:16:27 +08:00
William Cheng
7b7d7db0c7
[Java][okhttp] rename enum ( #10642 )
...
* rename java enum with uppercase
* add tests for snake case lambda
* update file header
* update feign templates with new enum names
* update okhttp template wth lambda
* fix tests
2021-10-23 10:15:30 +08:00
William Cheng
885a813f86
update java jersey2 dependencies ( #10659 )
2021-10-23 10:13:39 +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
Jordan M. Adler
e7dace6099
[typescript] Add headers to ApiException ( #10153 )
2021-10-22 08:50:03 +02:00
WILLIAM CHENG
df197e4a91
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-10-22 11:57:00 +08:00
William Cheng
37006f8a03
add snak case lambda ( #10658 )
2021-10-22 10:49:38 +08:00
William Cheng
681578d1b5
rename enum constants ( #10631 )
2021-10-22 09:26:48 +08:00
WILLIAM CHENG
e85c67edc7
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-10-22 09:17:23 +08:00
William Cheng
fa5401be37
remove invalid arg in newer version of jvm ( #10652 )
2021-10-22 09:16:12 +08:00
Bilal Shaikh
4c8279e3f2
fix(NestJS): use correct typing for default headers ( #10616 )
...
* fix(NestJS): use correct typing for default headers
closes #10615
* Update modules/openapi-generator/src/main/resources/typescript-nestjs/api.service.mustache
Co-authored-by: Alexey Makhrov <amakhrov@gmail.com>
* update
Co-authored-by: Alexey Makhrov <amakhrov@gmail.com>
2021-10-21 07:57:31 +02:00
Arturo
108e8e513a
add try-with-resources statement to unclosed streams ( #10641 )
2021-10-21 11:08:27 +08:00
William Cheng
0a003c39b2
[TS] fix CI failure by installing node v16 ( #10649 )
...
* install node v16 instead of latest stable
* fix install
* fix install
* fix typo
2021-10-21 01:06:23 +08:00
AlexMog
c16562995b
fix: missing typescript local variable name 'from' ( #10587 )
...
Co-authored-by: Alexandre Moghrabi <alexandre.moghrabi@circular.xyz>
2021-10-19 21:45:08 +02:00
Vesa Poikajärvi
124511e7be
[typescript-axios] Update to Axios 0.23.0 ( #10626 )
...
* [typescript-axios] Update Axios to 0.23.0
BREAKING CHANGE: Axios 0.23.0 has a breaking TypeScript defintion change
which is incompatible with older versions of Axios.
* [typescript-axios] Update samples
* [typescript-axios] Use default binding for config to support older versions
With 2 generics arguments and leaving the AxiosRequestConfig arguments to it's
default the generated code can work both with 0.23.0 and older versions
2021-10-19 07:55:39 +02:00
William Cheng
730636ad31
Merge remote-tracking branch 'origin' into 6.0.x
2021-10-19 12:55:59 +08:00
Hugo Alves
ff286aa06f
[Java][Feign] Add http status to feign result ( #10583 )
...
* Add .circleci/config.yml
* Add Http status to the feign response wrapper
* Add Http status to the feign response wrapper
* Add Http status to the feign response wrapper
Fix typo
* Add Http status to the feign response wrapper
Fix typo
* Rename HttpResponse to ApiResponse
2021-10-19 00:04:32 +08:00
Yuriy Belenko
357f186c4e
[php-slim4] Migrate PHPUnit config ( #10230 )
...
* Migrate PHPUnit9 config file template
* Refresh samples
2021-10-17 18:19:43 +08:00
Yuriy Belenko
9f92322b90
[php-slim4] Bump required PHP version to 7.3 ( #10228 )
...
* Change minimum PHP version to 7.3
* Refresh samples
* Remove PHP8 notice from readme
Signed-off-by: Yuriy Belenko <yura-bely@mail.ru>
2021-10-17 18:19:14 +08:00
William Cheng
1bffeef146
Add links to Youtube videos on openapi-generator ( #10612 )
2021-10-17 18:13:01 +08:00
Richard Willis
a7ace4fb56
Add link to TypeScript/Fetch article ( #10611 )
2021-10-17 15:15:33 +08:00
Eric Durand-Tremblay
11bfc66782
Issue #10591 kotlin enum defaultValue ( #10592 )
...
* Issue #10591 kotlin enum defaultValue
* Updated sample
* Register sample
Co-authored-by: Eric Durand-Tremblay <etremblay@kronostechnologies.com>
2021-10-16 13:47:31 +08:00
Benjamin Heiss
69452360ab
Issue-7869: Update to Guzzle 7, removed all deprecated Guzzle\Psr7 function calls by their static counterparts and updated FakeHttpClient interface to Guzzle7 client ( #10585 )
...
Co-authored-by: Benjamin <Benjamin.Heiss@tngtech.com>
2021-10-16 13:24:11 +08:00
Jeef
fc7c6d8edb
Changing from scriptName to x-codegen-script-name will render dockerfile correctly because scriptName isn't being set ( #10594 )
2021-10-16 13:01:40 +08:00
William Cheng
ee9687f38c
update dependencies ( #10599 )
2021-10-14 18:06:07 +08:00
dependabot[bot]
6922c71080
Bump url-parse from 1.4.4 to 1.5.3 in /website ( #10537 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.4.4 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.4...1.5.3 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-14 15:01:46 +08:00
dependabot[bot]
d470fd45e4
Bump path-parse from 1.0.6 to 1.0.7 in /website ( #10128 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-14 15:01:36 +08:00
dependabot[bot]
a2cbd26875
Bump postcss from 7.0.7 to 7.0.36 in /website ( #9779 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 7.0.7 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/7.0.7...7.0.36 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-14 15:01:28 +08:00
dependabot[bot]
a6163a8b8c
Bump lodash from 4.17.15 to 4.17.21 in /website ( #9435 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-14 15:01:16 +08:00
yongmingl
b0e2ab67a6
Add hasQueryParamsOrAuth to reflect apiKey in query ( #10582 )
...
Compilation fails in generated typescript-angular client when an
`apiKey` is passed in query due to an uninitialised variable.
This change adds `getHasQueryParamsOrAuth()` to reflect if there's at
least one query parameter or passing API keys in query in the
`hasQueryParamsOrAuth` template variable.
2021-10-14 14:16:22 +08:00
William Cheng
2bd2c23115
Revert "[JAVA][jersey2] import the auto generated supporting JSON class only when discriminator is needed ( #10557 )" ( #10597 )
...
This reverts commit 52713b21d452bcc4219793861443b495d2a03213.
2021-10-14 11:41:19 +08:00
Fabio Bombardi
ae86ff7aaf
Kotlin multiplatform updated to fit future Kotlin 1.6.0 release ( #10468 )
...
* Update Kotlin Version to 1.6.0-M1
Update Multiplatform Plugin to 1.6.0-M1
Update Gragle to 7.2
Update AGP to 7.0.2
Update samples accordingle
Resolve: https://github.com/OpenAPITools/openapi-generator/issues/10467
* Removes local.properties from kotlin-multiplatform petstore client, that was accidentally added
* Use the latest kotlin stable version 1.5.31
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-10-13 15:56:28 +08:00
Peter Leibiger
34f475f7f7
[dart][dio] Respect import-mappings parameter ( #10528 )
...
* first check import mappings before defaulting to model import
* respect primitive types when generating serializes, these can still be models if passed via generator args
2021-10-13 15:55:45 +08:00
Sergii Baitala
71afbf5909
[cpprestsdk] fix string conversion, add integer enum support ( #10531 )
...
* [cpprestsdk] fix string conversion
* Support number enums
2021-10-13 15:49:19 +08:00
Dennis Melzer
12d80bfbb5
Fix import for new spring boot version ( #9144 )
...
* Fix import for new spring boot version
#8561
* Add new versions
* Fix samples
* Remove unused dependencies
* Revert "Remove unused dependencies"
This reverts commit bdac08b80a64b74affec2cea71b524fcd87a4c1b.
* Add version
* Fix version
* Add hystrix note this depcreated
* Migrate to Junit5
* Trigger build
* Add junit5
* Upgrade to new hystrix starter
* Try to enable hystrix
* Remove hystrix and upgrade to boot 2.5.5
* Remove hystrix
* Revert yaml
* Remove hysterix
* Trigger build
* Update docu
* use 4-space instead of tabs
* remove HystrixCommand
* add back spring-cloud test with oas 3.0 spec
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-10-13 15:29:14 +08:00
agilob
45336be847
Improve version management, update dependencies, remove unused dependencies ( #10544 )
...
* Move verion properties to main pom.xml
* Sort properties and remove duplicates
* Use properties for known versions
* Deduplicate versions of maven plugins
* Deduplicate wagon dependencies
* Deduplicate maven targer and source properties
* Explicitly set testng version
* Remove property used once
* Sort lines
* Standardise name of maven version properties
* Upgrade maven-surefire-plugin
* Comment out jackson-datatype-jsr310
* Comment out com.fasterxml.jackson.core:jackson-core:jar:2.10.2:compile
* Remove commented out dependencies
* Rename maven param name
* Remove org.hamcrest:java-hamcrest:jar:2.0.0.0:test
* Bump jacoco
* Upgrade guava, replace deprecated or removed api with vanilla java
* Bump jmustache.version
* Bump jackson.version
* Bump jackson.version and mockito
* Bump testng
* Bump wagon-ssh-external.version
* Downgrade jmustache
* Bump spring boot version and add junit
* Bump maven in wrapper
* Bump apache libs
* Bump dependencies
* Revert checkstyle bump
2021-10-13 14:46:01 +08:00