翠 / green
9ace82ae14
[typescript-axios] replace optional chaining ( #7476 )
...
To avoid requiring TypeScript above 3.7.2.
refs #7455
2020-09-25 14:27:29 +02:00
翠 / green
5472943134
[typescript-axios] fix refining query
( #7475 )
2020-09-25 14:01:04 +02:00
Ghufran Zahidi
d6bfecf2ef
[powershell] Updated the Api doc with httpsiging script snippet. ( #7499 )
...
* Added the httpsigning code snippet for api doc
* Updated the sample
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-09-25 16:54:14 +08:00
Hippolyte HENRY
9ba943318a
[go][client] Fix API docs example generation ( #7489 )
...
* [go][client] Fix API docs example
* Generate samples
2020-09-25 14:45:18 +08:00
William Cheng
596bbb9c58
Add option to set recursion limit ( #7491 )
...
* add option to set recursion limit
* fix test failure
* update doc
* add tests
* add missing import
* rename option to recursionLimit
2020-09-24 11:47:22 -07:00
William Cheng
5ebf26e0d2
fix issue without http signature auth ( #7504 )
2020-09-24 23:56:50 +08:00
Jiri Kuncar
bc799b2488
[ruby] Support for per-operation servers ( #7415 )
...
* Support server configuration per operation
* regenerated+tests
* base_url fix
* support not templated urls
* revert update of ruby docs
2020-09-24 11:21:43 -04:00
William Cheng
6612c16624
update samples
2020-09-24 16:37:20 +08:00
William Cheng
8c78f13a41
remove hardcoded PetApi ( #7483 )
2020-09-22 11:45:29 -07:00
William Cheng
04b39cc86b
remove SWGApiResponse.m (not used) ( #7478 )
2020-09-22 22:34:48 +08:00
William Cheng
2157d526e1
update samples
2020-09-22 20:45:22 +08:00
William Cheng
96bba3769b
switch to another spec with more oneOf def ( #7470 )
2020-09-22 08:50:57 +08:00
Peter Somogyvari
27680214fd
feat(typescript-axios): injectable FormData ( #7455 )
...
Signed-off-by: Peter Somogyvari <peter.metz@unarin.com>
2020-09-21 09:07:10 +02:00
Jim Schubert
a29d9a9ff4
[samples] Regenerate
2020-09-20 23:27:48 -04:00
Philipp Paris
c7d5275b62
[java] jaxrs (all) add usetags option ( #6130 )
...
* Adds "useTags" option to all jaxrs code generators (AbstractJAXRSServerCodegen):
- jaxrs-jersey
- jaxrs-spec
- jaxrs-cxf-cdi
- jaxrs-resteasy
- jaxrs-cxf
- jaxrs-cxf-extended
- java-msf4j
- jaxrs-resteasy-eap
* jaxrs-spec
- Changed handling of root paths: e.g "/:", "/{id}:" to simplify code and create a more consistent behaviour
-- old: use tag for classname
-- new: use tag only if useTags is enabled, use "DefaultApi" if not
* @path class level annotation
- for all generators above and the microprofile generator (uses same jaxrs postprocessing)
- extended the "commonPath" to contain more than only the root path if possible
- e.g. "/group1/subgroup1/op1" -> "/group1/subgroup1" is moved to class level annotation
2020-09-20 21:18:07 -04:00
William Cheng
77f24a4234
[C#][netcore] replace tabs with 4-space ( #7456 )
...
* replace tab with 4-space
* add space after if
2020-09-21 00:08:31 +08:00
Yuriy Belenko
5675d5fe61
Fix bug when variables key doesn't exist ( #7429 )
2020-09-20 20:49:00 +08:00
William Cheng
ea559b5e20
[C#][NetCore] add multi-server support ( #7433 )
...
* multi server support in C# netcore clients
* switch to IReadOnlyDictionary
* minor fixes, add tests
2020-09-19 15:07:12 +08:00
Ghufz
92f7a306a1
[csharp-netcore]Http signing for csharp-netcore sdk ( #7437 )
...
* HTTPSigning implementation for CSharpSDK
* Updated the sample for HTTPSigning
* Updated the sample2 for HTTPSigning
* update samples
* HTTPSigning_For_Async
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-09-19 12:09:35 +08:00
dtiller
3f7a3f2b59
[TYPO] [WEBCLIENT] Issue 7425: Fixed comments that referred to RestTemplate. ( #7445 )
...
* Issue 7425: Fixed comments that referred to RestTemplate.
* Ran genreate-samples.sh
* Re-ran generate-samples.sh against all configs.
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-09-19 12:07:35 +08:00
William Cheng
874daad7e7
delete oudated objc files ( #7449 )
2020-09-18 18:27:33 +08:00
William Cheng
ef42977097
remove old test, regenerate js clients ( #7448 )
2020-09-18 14:14:23 +08:00
William Cheng
9754748321
[Perl] clean up old files and regenerate Perl petstore clients ( #7439 )
...
* clean up old files and regenrate perl petstore
* update samples
2020-09-18 10:30:32 +08:00
Fabio Mazzone
6a4aed91ca
[javascript][client] Add gitignore to template ( #7438 )
...
* [javascript][client] add gitignore template file
* [javascript][client] update samples
2020-09-17 17:18:27 +08:00
Ella
bb00d88283
[kotlin] Fix optional header params in openhttp client ( #7341 )
...
This commit adjusts the kotlin openhttp api template to ignore null headers when building the request rather than convert them to "null" string
2020-09-16 22:09:38 -04:00
Nicholas Muesch
32c591d9a7
Support multiple api keys in python example documentation ( #7417 )
...
* Support multiple api keys in config option
* Regenerate samples
* Update rest of examples
2020-09-15 13:40:48 -07:00
Slavek Kabrda
be40dbe540
[Go][client] Re-add deleted model template files ( #7423 )
...
* [Go][client] Re-add deleted model template files
* Regenerate samples
2020-09-15 22:25:45 +08:00
William Cheng
c04d9cd59a
rename debugging variables ( #7422 )
2020-09-15 21:25:52 +08:00
William Cheng
8fad36c898
[Go] minor format change, deprecate "withGoCodegenComment" option ( #7375 )
...
* use tab in comment, remove withGoCodegenComment
* deprecated option
2020-09-12 22:05:10 +08:00
William Cheng
0a2ef5a725
[C#][netcore] better support for additional properties in the payload ( #7396 )
...
* add OpenAPIAdditionalPropertiesConverter
* fix buges
* fix writeJson
* better code comment
* move converter to model
* use JsonExtensionData
* update hashcode, equal, tostring and more
* update samples
2020-09-12 01:39:19 +08:00
Ghufz
00e20ffb2c
Fix the ECDSA signature issue for PowerShellSDK ( #7386 )
...
* Fix the ECDSA signature issue for PowerShellSDK
* updated the sample for ECDSA HTTPSigning
* fix the sample doc
2020-09-11 12:35:44 +08:00
Ramanth Addala
c39aef2a79
feat(r): retry configuration for status codes ( #5925 )
...
* feat(r): retry configuration for status codes
* fix(r) : fixing review comments
2020-09-08 14:34:32 +08:00
Ghufz
7ac7974ef5
RSACng class is not supported on linux replacing it by RSA ( #7349 )
...
* RSACng class is not supported on linux replacing it by RSA
* update PS samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-09-07 15:24:36 +08:00
Pete Kruskall
089e1f7271
Adds cookie auth support to ApiKeyAuth in dart2 templates ( #7346 )
...
* Adds cookie auth support to dart2 templates
* Updating pet store sample templates
2020-09-06 22:54:46 +08:00
Jim Schubert
9a6e3fa74a
[js][flowtype] Bump lodash from 4.17.15 to 4.17.19 ( #7359 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
2020-09-06 22:53:52 +08:00
Ryan Rishi
2d5b2726d0
Subclass Python exceptions ( #7321 )
...
* Subclass Python exceptions:
- UnauthorizedException (401)
- ForbiddenException (403)
- NotFoundException (404)
- ServiceException [500 - 599]
Fixes #2151
* add generated sample code
* use Python 2 flavor inheritance
* regenerate samples
2020-09-05 10:22:04 -07:00
Hui Yu
0e2e031ece
[C][Client][Clang Static Analyzer] Fix uninitialized argument value for valueHeader_ and valueForm_ ( #7332 )
2020-09-04 21:37:31 +08:00
William Cheng
2fd23f505e
Prepare 5.0.0-SNAPSHOT ( #7347 )
...
* Revert "Prepare 5.0.0-beta2 release (#7345 )"
This reverts commit 212b4f784742744b7b238607dcefb23ec9db64d7.
* update readme
2020-09-04 15:31:54 +08:00
William Cheng
212b4f7847
Prepare 5.0.0-beta2 release ( #7345 )
...
* update version
* update doc
* update samples
2020-09-04 13:03:45 +08:00
William Cheng
14d41310b9
[Go] replace go
generator with go-experimental
generator ( #7337 )
...
* replace go with go-experimental
* update samples
* extends with abstract go class
* rearrange
* remove deprecated
* minor fix
* remove go deprecated samples
* update pom, clean up samples
* mark generator as deprecated
2020-09-04 09:56:42 +08:00
Jim Schubert
a6d30cac9d
[core] Templating: limit compilation to supported extensions and constrain target paths ( #6598 )
2020-09-02 15:52:35 -04:00
William Cheng
966b87e66c
add aws v4 signature support to go-experimental ( #7326 )
2020-09-02 15:28:22 +08:00
William Cheng
d50d31cd5e
add structPrefix support to go-experimental ( #7327 )
2020-09-01 20:51:37 +08:00
Arvind Thirunarayanan
ab5b0fa8d4
[Go]: Interface definitions for api functions ( #5914 )
...
Introduces a new "generateInterfaces" option, allowing for better testability of generated clients
2020-08-31 21:43:40 -04:00
William Cheng
19c5ed783a
update samples
2020-08-31 23:17:55 +08:00
Oleh Kurpiak
14a500c6fe
[Java][Client] Use java8 OffsetDateTime for clients ( #7190 )
...
* use java8 OffsetDateTime for clients
* use java8 OffsetDateTime for clients
* fix javadoc
* add javadoc to JavaTimeFormatter.mustache
* add javadoc to JavaTimeFormatter.mustache
* add javadoc to JavaTimeFormatter.mustache
2020-08-31 22:31:28 +08:00
Patouche
b9662dc25d
[java] Intro openApiNullable property to enable/disable OpenAPI Jackson Nullable library ( #6154 )
...
* Add option to prevent usage of jackson-nullable (#2901 )
Add a option for all java client and server to prevent
usage of third party library (jackson-databind-nullable)
which may be forbidden in some company
Add samples for Vertx, Spring MVC, Spring Cloud, Feign and Play
Upgrade dependencies for org.openapitools:jackson-databind-nullable
* Samples - Remove dependency org.openapitools:jackson-databind-nullable (#2901 )
* Fix generation of gradle file for vertx (#2901 )
* Regenerate samples (#2901 )
* Fix documentation and up to date (#2901 )
* Fix forgotten regeneration of vertx after dependency integration (#2901 )
* Regenerate template after rebase (#2901 )
* Use yaml config files introduce in #6509 to manage samples (#2901 )
* Regenerate template using the config (#2901 )
* Fix bad version during testing generated samples (#2901 )
* Regenerate template after fix bad version (#2901 )
* Fix merge, allow for set importing on codegen model
Co-authored-by: Jim Schubert <james.schubert@gmail.com>
2020-08-31 21:25:18 +08:00
William Cheng
7032c401ea
[Spring Boot] update dependencies, mark java8 option as deprecated ( #7306 )
...
* update springboot dependencies
* update doc
* update samples
2020-08-31 13:53:50 +08:00
QP Hou
30074833cd
fix http bear auth documentation for go clinets ( #7312 )
2020-08-31 13:43:34 +08:00
Jiri Kuncar
d5a680e85f
[Extensions][Go][Java] Test x-auth-id-alias ( #6642 )
...
Co-authored-by: Jim Schubert <james.schubert@gmail.com>
2020-08-30 21:46:55 -04:00