Silas Davis
c290555e5e
typescript-axios: @ts-ignore possible unused imports ( #3742 )
...
Depending on the template parameters some imports may not get used -
this causes a typescript compiler error that must be manually fixed.
Signed-off-by: Silas Davis <silas@monax.io>
2019-08-26 12:40:34 +02:00
William Cheng
197294a167
Prepare 4.1.1 release ( #3756 )
...
* 4.1.1 release
* update doc
2019-08-26 15:59:33 +08:00
William Cheng
7afd350616
[WIP] Escape import with underscore in go-experimental client ( #3659 )
...
* escape import with underscore in go client
* update ioutil
* Fix collectionFormat=multi request bug in go experimental
2019-08-26 10:38:24 +08:00
Jim Schubert
ee7c8a82e8
[BUG][CLI][GENERATOR] NullPointer when not setting outputDir (updated) ( #3752 )
...
* Fixes NPE when no outputDir is set
* Fix behaviors of default values for values not provided by user
* Easier handling of default behavior in settings.
* Fixes for dynamic config deserialization (specifically, ruby client sample fix)
* Tests for WorkflowSettings (defaults, modified defaults, nulls)
* Test modification of WorkflowSettings defaults for both class constructor and builder
2019-08-25 19:19:52 -04:00
FlorianBruckner
16ac05dcdf
Two tiny fixes for Java Vertx client ( #3683 )
...
* two tiny fixes:
1.) ApiClient already defines and configures an objectMapper to not fail on unknown properties, but it is not used when parsing the response. The fix uses the pre-configured object mapper instead of the vertx default one
2.) When an operation has no response (or just ones without content), the accept array passed to ApiClient is emtpy. This makes the null check in ApiClient useless, as it still tries to set a null Accept header, which is refused with an NPE. Amend the check with .length > 0 to catch this case.
* update generated client as required by contributor guidelines
2019-08-25 18:02:36 +08:00
Andreas Kägi
859df23428
Exclude "test" from packages so that it is not installed as top-level package when "pip installing" the generated sdk ( #3731 )
2019-08-25 17:59:38 +08:00
sullis
e12459f3bd
[java-client] add unit test for JDK 11 HttpClient ( #3735 )
2019-08-25 17:15:46 +08:00
Ramanth Addala
8cd5a4187b
[R] feat(r): handling error response for 3xx cases ( #3571 )
...
* feat(r): handling error response for 3xx cases
* fix(r) : changed the message for 3XX case
* fix(r) : fixing the status code 3xx
2019-08-25 01:21:03 +08:00
Nick Meinhold
a05f68431a
[Dart] Avoid redundant null checking in fromJson ( #3632 )
...
* Move dart null checks inside mustache type checks
- removed surrounding null check
- added a conditional expression to each case except the redundant one
* Run shell scripts so CIs can verify the change
2019-08-25 01:16:32 +08:00
Jim Schubert
15f680e1eb
[core] Set isMultipart=true for multipart operations, fix possible NPE ( #3750 )
2019-08-25 01:02:12 +08:00
Armand Mégrot
1f5aa22f5c
Fix null assignation to header/query param map ( #3749 )
...
Also regenerates the clients
2019-08-24 23:09:57 +08:00
sullis
dfb4c133d8
Mockito 3.0.0 ( #3732 )
2019-08-24 21:40:24 +08:00
Jake Moening
a390676cc6
Simple spelling error in dotnet core comments ( #3746 )
...
* Simple spelling error in dotnet core comments
Dictioary -> Dictionary
* Updated the sample files as well.
2019-08-24 11:35:11 +08:00
William Cheng
b8f9e995ce
better support for multipart ( #3736 )
2019-08-24 11:24:51 +08:00
Josh Giles
158cdfeb3c
[typescript-fetch] fix #1998 : prefix req ifaces. ( #3740 )
...
Prefix generated request interface names with API classname rather than
using namespaces, because namespaces are not well-supported by some
tooling (in particular, Babel).
2019-08-23 16:58:51 +02:00
Daniel Schreiber
d64ec14ab4
[typescript-angular] Encode objects for multipart/form-data with json - fixes #2733 ( #3738 )
2019-08-23 13:54:14 +02:00
thecrazzymouse
73eae09738
[BUG] Https protocol schema is not handled correctly in java 11 native code #3729 ( #3730 )
...
* added getter for schema
2019-08-23 13:52:48 +02:00
Armand Mégrot
4898ffa4e9
[Kotlin-client] Authentication support ( #3722 )
...
* Handle and document authorization for kotlin client
* Regenerate clients and tests
* Remove testing files
2019-08-22 21:32:07 +08:00
James Russo
62ca0c78ff
[csharp] Update UserAgent in the async version of ClientAPI execute method. ( #3723 )
...
* move UserAgent up to the constructor
* userAgent on both constructors.
* update location of UserAgent
* re-ran the petstore generation
2019-08-22 20:24:32 +08:00
Shogoki
a748e1ff9a
[BUG][Python-Flask] Primitive type bytearray deserialization missing in util.py. #2724 ( #3642 )
...
* added bytearray to list of types
* adding regenerated sample files for python-flask
2019-08-22 17:15:10 +08:00
William Cheng
8741a8ca35
Minor enhancements to the Avro schema generator ( #3728 )
...
* minor enhancements to the avro generator
* add option to customize package name
* update doc
2019-08-22 16:06:04 +08:00
Jérémie Bresson
870bb1c858
[java-client][resteasy][jersey2][google-api-client][okhttp-json] several fixes to make sent requests more accurate ( #3703 )
2019-08-22 09:50:47 +02:00
sullis
f6ead7b877
[java][JAX-RS] enhance JavaJAXRSSpecServerCodegenTest ( #3727 )
2019-08-22 09:45:31 +02:00
sgadouar
abfef86c8b
feature/add-avro-generator ( #3662 )
...
* feature/add-avro-generator
* feature/add-avro-generator
* review/test/change output folder generation for avro
* doc/update copyright for avro generator
2019-08-22 14:39:35 +08:00
Josh Giles
b323b0a0af
[typescript-fetch] Fix #1998 : namespace reqs. ( #3695 )
...
* [typescript-fetch] Fix #1998 : namespace reqs.
Fix #1998 by namespacing the generated request object types used in the
typescript-fetch client codegen.
* Update petstore samples.
* Add default-false namespacing config option.
* Re-run code sample generation.
* Add maven build configurations.
* Fix sample VERSION files.
* Update typescript-fetch docs.
* Emulate with-npm-version, adding package.json.
* Add Paxos to companies using.
* Prefix namespace with basename to avoid collisions.
2019-08-22 07:59:34 +02:00
sullis
1a808dd644
[java] use javaparser library to detect syntax errors in the tests ( #3715 )
2019-08-22 07:34:28 +02:00
Jérémie Bresson
57236bc846
[java-client][resteasy] support bearer authentication ( #3706 )
2019-08-21 21:38:27 +08:00
Sai Giridhar P
6924b3c710
[csharp-netcore] Making HTTP response headers dictionary case-insensitive ( #3707 )
...
* fix(csharp-netcore): Making response headers case-insensitive
* fix(r): Adding response headers on docs
2019-08-21 21:20:05 +08:00
Sai Giridhar P
94eb6860aa
[csharp-netcore]: Fixing the build issues ( #3681 )
...
* fix(csharp-netcore): Fixing the build issues
* fix(csharp-netcore): Fixing the build issues
* fix(csharp-netcore): Fixing the Pet project
* fix(csharp-netcore): help fixes
2019-08-21 18:18:58 +08:00
Sai Giridhar P
10a310ef69
[r] Updating api docs to include HTTP response codes and their corresponding headers ( #3699 )
...
* fix(r): Adding response headers on docs
* fix(r): Adding response headers on docs
2019-08-21 10:21:56 +08:00
sullis
2ee0c34347
fix typo in [TestUtils] ( #3713 )
2019-08-21 10:14:32 +08:00
Esteban Gehring
e5912b4925
typescript-angular: set angular version 8 as default for ngVersion ( #3680 )
...
* set angular version 8 as default for ngVersion
* docs
2019-08-20 07:48:29 +02:00
William Cheng
4575b3074a
[Go] add option to use class as enum prefix ( #3675 )
...
* add option to use class as enum prefix
* update doc
* fix go test
* update go xml petstore
* fix format
2019-08-20 00:33:08 +08:00
Akihito Nakano
6addd76e11
Add a test case for inline models within Callback Object ( #3665 )
2019-08-19 22:52:06 +08:00
Jérémie Bresson
8c498fb08a
[java-client][jersey2][resteasy] add support for OPTIONS method ( #3677 )
...
* [java-client][jersey2][resteasy] add support for OPTIONS method
* Update samples
2019-08-19 22:51:18 +08:00
Kris Raney
e086ad1b6e
Guarantee a unique name for the constants that represent enum values ( #3644 )
...
* Guarantee a unique name for the constants that represent enum values
* update samples
* Use all-caps
2019-08-19 14:34:26 +08:00
Akira Tanimura
1a6d3671d9
fix the model's valid?
of Ruby client to prevent runtime error ( #3670 ) ( #3671 )
2019-08-19 13:31:34 +08:00
Sai Giridhar P
589e5c6312
[csharp-netcore] Fixing the XML documentation warnings. ( #3674 )
...
* fix(csharp-netcore): Fixing the XML warnings
* fix(csharp-netcore): Updating Pet project
* fix(csharp-netcore): Minor fix
* fix(csharp-netcore): Minor fix
* fix(csharp-netcore): Minor ifx
* fix(csharp-netcore): Minor fix
2019-08-19 13:30:47 +08:00
Martin Delille
024f46814c
cpp-qt5-client: fix memory leak in api-body ( #3661 )
2019-08-17 22:19:16 +02:00
Richard Whitehouse
1ce09788a9
[Rust Server] Support Bearer based Authentication ( #3606 )
...
Add handling case for Bearer Authentication on the client and update the samples
2019-08-17 12:30:47 +01:00
Richard Whitehouse
44fda895d2
[Rust Server] Frunk - LabelledGeneric - support ( #3552 )
...
Derive the LabelledGeneric trait on Swagger models. This allows
conversion between structurally similar types by using
https://docs.rs/frunk/0.2.2/frunk/#transmogrifying .
Exit if example fails to run
2019-08-17 11:03:38 +01:00
lwlee2608
7e8c7db798
InlineResolver to flatten callback operations ( #3398 )
...
Signed-off-by: lwlee2608 <lwlee2608@gmail.com>
2019-08-17 11:18:52 +09:00
Kris Raney
b83fe0c611
[Go]URLEncode path parameters ( #3643 )
...
* URLEncode path parameters
* update samples
* Use correct module naming
2019-08-16 20:58:54 +08:00
Slavek Kabrda
5182955cca
[Java][client] make it possible to send explicit nulls for nullable fields ( #3474 )
...
* [Java][client] make it possible to send explicit nulls for nullable fields
* Regenerate samples
2019-08-16 16:26:06 +08:00
Jérémie Bresson
cd9eea2fe5
[java-client][jersey2][resteasy] add support for TRACE method ( #3653 )
2019-08-16 05:42:41 +02:00
Justin Sherrill
ef88bd175f
[Ruby][faraday] Properly pass verify_mode to faraday ( #3652 )
2019-08-16 09:45:18 +09:00
Qingping Hou
99fcfbc802
[Python] support api key refresh in configuration module ( #3594 )
2019-08-15 22:06:36 +08:00
Jérémie Bresson
a4811c7850
[java-client] set collection to null when not required ( #3615 )
...
* [java][model] set collection to null when not required
* Fix tests
* Fix trailing whitespace
* generate samples
* Restore 'de.thetaphi' plugin in pom.xml
2019-08-15 22:01:19 +08:00
Jérémie Bresson
2ada4d90b4
[core] process TRACE operation ( #3648 )
2019-08-15 21:59:59 +08:00
Steven Masala
6f7d2792c7
fix imports and property name when using anyof/oneof in services ( #3639 )
2019-08-15 11:15:21 +02:00