William Cheng
b7f389aacb
minor code improvement ( #9091 )
2021-03-27 14:57:26 +08:00
Prakhar Gupta
b1837693b1
[JAVA][jaxrs-spec] Added custom methods to add/remove elements from Java Collections ( #6468 )
2021-03-27 13:59:49 +08:00
Jakub Surdej
711ce5431a
Add method allowing to apply middleware to request ( #7403 )
...
Prepare custom auth function template to be optional one
Rename auth function to middleware
Move middleware execution below operations with context
Generate samples for go
Modify new line characters in template not to affect default one
Generate samples with modified template
2021-03-27 13:53:30 +08:00
Phillip Verheyden
fa624ef38c
Use prepare script instead of prepack ( #7807 )
...
Including the generated JS client library code as a git repository did not work when executing npm install. It complained about not being able to find 'babel'. Apparently when referencing a dependency from git, both prepare and prepack are executing to build the 'dist' directory, but prepack does will not include any devDependencies. Therefore we need to switch this to prepare instead.
2021-03-27 13:45:11 +08:00
William Cheng
e6f56626ed
Revert "Enable useOneOfInterfaces for the ruby generator ( #8061 )" ( #9104 )
...
This reverts commit 23bc2aaf6b95bce55e5c3264065e2597eab2ea00.
2021-03-27 13:43:31 +08:00
Jacob Burroughs
23bc2aaf6b
Enable useOneOfInterfaces for the ruby generator ( #8061 )
...
Tested against https://ftc-events.firstinspires.org/swagger/v2.0/swagger.json
Used to generate un-runnable code, now it works
2021-03-27 13:42:48 +08:00
William Cheng
3579094298
update samples
2021-03-27 13:03:16 +08:00
dependabot[bot]
474df9dd5e
Bump actions/download-artifact from v1 to v2.0.8 ( #8781 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from v1 to v2.0.8.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v1...4a7a711286f30c025902c28b541c10e147a9b843 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-27 10:04:20 +08:00
dependabot[bot]
a2401f71b0
Bump actions/upload-artifact from v1 to v2.2.2 ( #8782 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from v1 to v2.2.2.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v1...e448a9b857ee2131e752b06002bf0e093c65e571 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-27 10:04:09 +08:00
dependabot[bot]
8e7440e294
Update actions/cache requirement to v2.1.4 ( #8780 )
...
Updates the requirements on [actions/cache](https://github.com/actions/cache ) to permit the latest version.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](26968a09c0
)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-27 10:03:32 +08: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
avbenavides
2525639875
Update client.mustache ( #8970 )
...
Bash Client Escapes parameters with a 't' to %09 and leaves tabs unescaped
Fixes https://github.com/OpenAPITools/openapi-generator/issues/7303
2021-03-27 09:59:53 +08:00
sullis
764d7f3035
maven-jar-plugin 3.2.0 ( #8248 )
2021-03-27 09:57:23 +08:00
leonluc-dev
7e6ce69c64
[ASPNETCORE 3.x] Microsoft.AspNetCore.Authorization directive no longer requires useSwashbuckle condition ( #8368 )
...
* Update controller.mustache
Moved using directive for Microsoft.AspNetCore.Authorization outside of useSwashbuckle tag to prevent compilation errors with Authorize tag if Swashbuckle is disabled.
* Updated aspnetcore-3.x samples
2021-03-27 09:56:37 +08:00
William Cheng
5abf020be3
use interrupted exception instead of just exception ( #9092 )
2021-03-26 21:41:24 +08:00
William Cheng
854296634a
better logging ( #9090 )
2021-03-26 18:21:59 +08:00
William Cheng
16b141e402
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-03-26 10:20:36 +08:00
William Cheng
e71ae12e14
Restore interrupted state ( #9084 )
2021-03-26 09:42:27 +08:00
William Cheng
ba28702da0
Remove dart-jaguar configs and samples ( #9081 )
...
* remove dart jaguar config and samples
* update pom.xml
2021-03-26 09:42:15 +08:00
William Cheng
402cf9a3a2
Fix integer enum in csharp generators ( #9035 )
...
* fix integer enum in csharp generators
* add comment
2021-03-25 21:30:42 +08:00
cal
6a26ac8e20
[cleanup] erefactor/EclipseJdt - Remove trailing whitespace - All lines ( #9077 )
...
EclipseJdt cleanup 'RemoveAllTrailingWhitespace' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.19/jdt.php
For erefactor see https://github.com/cal101/erefactor
2021-03-25 21:24:24 +08:00
cal
97e27f2b36
[cleanup] erefactor/EclipseJdt - Remove trailing whitespace - All lines ( #9076 )
...
EclipseJdt cleanup 'RemoveAllTrailingWhitespace' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.19/jdt.php
For erefactor see https://github.com/cal101/erefactor
2021-03-25 21:23:29 +08:00
cal
9419de573e
[cleanup] erefactor/EclipseJdt - Remove unused imports ( #9075 )
...
EclipseJdt cleanup 'RemoveUnusedImport' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.19/jdt.php
For erefactor see https://github.com/cal101/erefactor
2021-03-25 21:21:21 +08:00
cal
6e0ca448dd
[cleanup] erefactor/EclipseJdt - Remove unused imports ( #9068 )
...
EclipseJdt cleanup 'RemoveUnusedImport' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.19/jdt.php
For erefactor see https://github.com/cal101/erefactor
2021-03-25 16:42:41 +08:00
William Cheng
fea1377603
Use InterruptedException, IOException instead of just Exception ( #9063 )
...
* use InterruptedException, IOException instead of just Exception
* undo changes to the license
2021-03-25 13:30:30 +08:00
cal
7813398e7e
[cleanup] erefactor/EclipseJdt - Remove unused imports ( #9067 )
...
EclipseJdt cleanup 'RemoveUnusedImport' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.19/jdt.php
For erefactor see https://github.com/cal101/erefactor
2021-03-25 10:52:22 +08:00
cal
862e9cb79a
[cleanup] erefactor/EclipseJdt - Remove unused imports ( #9066 )
...
EclipseJdt cleanup 'RemoveUnusedImport' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.19/jdt.php
For erefactor see https://github.com/cal101/erefactor
2021-03-25 10:51:53 +08:00
cal
ee2f585f37
[cleanup] erefactor/EclipseJdt - Remove unused imports ( #9058 )
...
EclipseJdt cleanup 'RemoveUnusedImport' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.19/jdt.php
For erefactor see https://github.com/cal101/erefactor
2021-03-24 20:48:14 +08:00
cal
8043a8b9f4
[cleanup] erefactor/EclipseJdt - Remove trailing whitespace - All lines ( #9057 )
...
EclipseJdt cleanup 'RemoveAllTrailingWhitespace' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.19/jdt.php
For erefactor see https://github.com/cal101/erefactor
2021-03-24 20:47:39 +08:00
cal
b7c5d38011
[cleanup] erefactor/EclipseJdt - Remove redundant semicolons ( #9056 )
...
EclipseJdt cleanup 'RemoveRedundantSemicolons' applied by erefactor.
For EclipseJdt see https://www.eclipse.org/eclipse/news/4.19/jdt.php
For erefactor see https://github.com/cal101/erefactor
2021-03-24 20:46:31 +08:00
William Cheng
7937e2e0c9
Merge branch 'master' of https://github.com/openapitools/openapi-generator
2021-03-24 13:46:54 +08:00
William Cheng
0e0dc3f26b
update doc
2021-03-24 13:45:52 +08:00
vnq
74e5c3ccd3
[php-symfony] remove nested Valid constraint ( #8994 )
...
* Fix constraint Valid cannot be nested
* Update PetController.php
* Update UserController.php
2021-03-24 13:30:42 +08:00
Kam
f137f3331a
Add possibility to generate only files needed for sources compilation ( #9012 )
2021-03-24 13:27:25 +08:00
Blackclaws
650aaa2bee
Fix FromForm for complex parameters ( #9040 )
2021-03-24 12:33:17 +08:00
Blackclaws
b69fb79573
[csharp][aspnetcore] Enable Consumes Tag for Specs where not every operation consumes ( #9039 )
...
* Change break to consumes so that all operations will be processed
* Update Samples
2021-03-24 12:30:23 +08:00
Ze Wang
7e0382b08d
[Java][Jaxrs-Resteasy] Fixes generator devaultValues for int64/float/… ( #8988 )
...
* [Java][Jaxrs-Resteasy] Fixes generator devaultValues for int64/float/double
* add test
* fix tests
* trigger rerun of timeout tests
* remove SmartBear line from comments for new files
* trigger rerun of validations
* trigger rerun of validations
* trigger rerun of validations
* trigger rerun of validations
* trigger rerun of validations
* move postProcessParameter to AbstractJavaCodegen
* move postProcessParameter to AbstractJavaCodegen
Co-authored-by: zewang <zewang@deepmap.ai>
2021-03-24 12:23:34 +08:00
Florian Kamella
03be3c612d
Fix default value generation for composed schemas in AbstractJavaCodegen ( #8918 )
2021-03-24 00:36:54 +08:00
Blackclaws
0f981fffc3
[csharp][httpclient] Fix accidental use of c# 8 language feature ( #9037 )
...
* Fix c# 8 language feature being present
* Change config to refer to netstandard 2.0
* Update samples
2021-03-24 00:33:13 +08:00
William Cheng
d438d797da
[C#][netcore] Fix model, property name check ( #9049 )
...
* fix model, property name check in c# generator
* remove file
* remove file
* specify name
2021-03-23 20:00:26 +08:00
William Cheng
bedfe156bb
specify name ( #9051 )
2021-03-23 19:59:27 +08:00
William Cheng
97a3fc4b8e
[C#][netcore] Set EmitDefaultValue to true for boolean property ( #9042 )
...
* set EmitDefaultValue to true for boolean property
* update samples
2021-03-23 10:43:35 +08:00
William Cheng
39f0177ede
[Java] Update WebClient dependencies ( #8972 )
...
* update webclient dependencies
* update build.gradle
2021-03-22 13:58:04 +08:00
Blackclaws
46a7d972b9
[csharp][aspnetcore] Fix FileUpload Parameter Generation for aspnetcore ( #9000 )
...
* Aspnetcore fix file parameters
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/1183#issuecomment-612022568
* Update Samples
* Add Consumes to Controller. Needed for correct swashbuckle
* Add bodyParam annotation again
* Add InputFormatterStream
* Selective Use of IFormFIle
* Update samples
* Add missing List
* Fix duplicate consumes
* Update samples
* Remove executable bit
* Add missing files
* Add Comments
2021-03-22 12:35:45 +08:00
Justin Black
113d38eb71
Sets model.additionalProperties for composed schemas ( #9033 )
...
* Turns on setting model.additionalProperties for composed schemas when supportsAdditionalPropertiesWithComposedSchema is true, tests updated for v2 and v3 specs
* Comment change
* Samples updated
* Turns on supportsAdditionalPropertiesWithComposedSchema for CsharpNetCoreClient, samples regenerated
* Changes commented out, samples regnerated
* Refactors the update in setAddProps to not impact the charp client
2021-03-21 19:22:18 -07:00
William Cheng
e0021e662f
update readme
2021-03-21 11:06:27 +08:00
William Cheng
773a8d8a08
move dart test to node 2, remove oas v2 dart tests ( #9028 )
2021-03-21 10:53:00 +08:00
William Cheng
95d356ab6b
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
2021-03-21 01:10:46 +08:00
William Cheng
3a0eb9d040
update meta-codegen
2021-03-21 00:58:43 +08:00
William Cheng
47483e60cb
update version to 5.2.0-SNAPSHOT, update samples
2021-03-21 00:10:10 +08:00