William Cheng
a049e4c271
better comment
2019-08-19 18:06:27 +08:00
William Cheng
eee7a40629
remove dollar sign from java const name
2019-08-19 15:42:59 +08:00
Esteban Gehring
a5ab60bec8
mention TypeScript Angular 8.x compatibility
2019-08-19 08:55:13 +02: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
Ronny Pfannschmidt
aa4ead2a6d
autoupdating generator script: userdef cache dir ( #3631 )
...
with this addition the script should be able to store the jars at a user-defined folder if desired
2019-08-17 11:42:57 +08: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
William Cheng
dac370b7f7
Add @muttleyxd to C++ technical committee ( #3649 )
2019-08-15 18:33:17 +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
Aiham
2d7785ac63
Support nullable in typescript-fetch client ( #3645 )
2019-08-15 09:44:56 +02:00
Benjamin Douglas
eb6ca9199b
Use javax.annotation.processing.Generated for Java 11 native client ( #3637 )
...
Before Java 9, the `Generated` annotation was part of JEE and in the
`javax.annotation` package. Starting with Java 9, it is now part
of the standard SDK, under the new `javax.annotation.processing`
package.
This change creates a custom Generated annotation template for the
native clientlib, since it is guaranteed to be run in Java 11+.
2019-08-15 06:47:23 +02: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
William Cheng
286cdfdfa2
ensure ruby oas2 samples is up-to-date ( #3638 )
2019-08-14 17:18:02 +08:00
William Cheng
55786119e7
Import Go package with leading underscore ( #3634 )
...
* escape import with underscore in go client
* revert changes to test spec
2019-08-14 15:17:12 +08:00
John Wang
94d4e0cfac
[Golang][Client] Fix collectionFormat=multi request bug ( #3390 )
...
* fix parameter-collectionformat-multi
* update template to tabs
2019-08-13 21:19:33 +08:00
Olivier THIERRY
99d85a39a3
[Slim] Distinction between basicBasic and basicBearer authentication ( #3621 )
...
* [Slim] Distinction between basicBasic and basicBearer authentication
* [Slim] Update Petstore samples
2019-08-13 20:39:55 +08:00
Jim Schubert
b936d72dfa
[kotlin] Change Kotlin client exceptions to expose lack of support as UnsupportedOperationException rather than NotImplementedException. ( #3611 )
...
* [kotlin] Throw catchable exceptions rather than TODO()
* [kotlin] Regenerate samples
2019-08-13 08:38:00 -04:00
William Cheng
93aedcf3d5
update dart jaguar samples
2019-08-13 19:00:10 +08:00
Jaumard
d04e16a255
manage nullable definition ( #3599 )
...
update deps
2019-08-13 18:51:31 +08:00
William Cheng
fae0528cd5
update cli option in Dart ( #3627 )
2019-08-13 17:13:50 +08:00
Nick Meinhold
ba65f675e2
[Dart] Make clients crossplatform ( #3608 )
...
* Remove browserClient flag and bump http dependency
* Run shell scripts so CIs can verify the change
2019-08-13 15:35:00 +08:00
Oliver Ponder
5e27f11ef1
Use the latest version of superagent. ( #3579 )
...
* Use the latest version of superagent.
* Run javascript shell scripts.
2019-08-13 15:19:22 +08:00
Qingping Hou
850c493c63
[Python] avoid unnecessary dictionary lookup in get_api_key method ( #3592 )
2019-08-13 13:55:45 +08:00
Juang, Yi-Lin
f5327b601e
[aspnetcore] Fix nullable enum and duplicate model ( #3622 )
...
* Fix enum nullable
* Update samples
2019-08-13 13:49:16 +08:00
Juang, Yi-Lin
123efc5d65
[aspnetcore] Add max/min length attributes for models ( #3588 )
...
* Fix max min length
* Update samples
2019-08-13 11:48:15 +08:00
Glenn Schmidt
36ccd87a80
Fix composed properties missing from allVars ( #3616 )
...
* Fix composed properties missing from allVars
* Update the allOfCompositionTest to check allVars
2019-08-12 23:27:01 +08:00
Steffen
20db89e277
typescript-angular: Add correct library versions for Angular 8.0.0 ( #3619 )
...
* Add correct library versions for Angular 8.0.0
* Keep Angular default version of 7.0.0 to avoid breaking changes
* Add petstore example for Angular 8
* Add ngVersion field to typescript-angular-v8-petstore-provided-in-root-with-npm.json
2019-08-12 15:44:05 +02:00
Jim Schubert
a5349cfde5
[cli][gradle] filter deprecated generators by default when listing available generators ( #3612 )
...
* Filter deprecated generators from CLI list by default.
* [gradle] Exclude deprecated generators from list by default, add "include" option to allow for customization of list task.
* Update scripts to support the --include option of the list command
* Update gradle/cli docs for generators listing with "include" option.
2019-08-12 08:25:52 -04:00
HoaBo
4a92cd8dca
If the return type is empty, it should be void instead of Response ( #3617 )
2019-08-12 11:00:13 +02:00
siada
c8a65a9942
[Typescript] Fix typescript-inversify compiler errors ( #3607 )
...
* Update addJsonHeaders
addJsonHeaders currently throws a compiler error because the headers args in get/put/post etc is nullable, but the argument in addJsonHeaders is not
* Executed samples generator
2019-08-12 07:46:55 +02:00
Jim Schubert
4b6499c636
[maven] Support user overrides for serverVariables (carryover from #3363 ) ( #3609 )
...
* Adds server variables overrides option to the Maven plugin
2019-08-11 14:49:51 -04:00
William Cheng
290550ef91
Add build badges for 4.2.x branch ( #3610 )
2019-08-12 00:35:49 +08:00
Jim Schubert
06533b977c
[core][gradle] User-defined server variable substitutions ( #3363 )
...
* [core] Initial support for server variable overrides
* [gradle] Support user overrides for serverVariables
* [core] Clarify server variable overrides, and propagate them to templates in the "servers" array
2019-08-11 09:57:36 -04:00
Andrey
07381e7275
Fix kotlin templates ( #3504 )
...
* Fix kotlin templates to use okhttp 4.0.1.
* Fix escaping of dataType field.
* Fix handling of arrays/lists of enums.
2019-08-11 09:35:57 -04:00
Juang, Yi-Lin
22d022b2d5
[aspnetcore] Add TypeConverter for enum string conversion ( #3557 )
...
* Add TypeConverter for enum
2019-08-10 22:57:36 -04:00
Michal Foksa
42d6420400
Feature/mustache lambda tests ( #3447 )
...
* Mustache lambda tests
* If lambda key is already taken in additionalProperties, throw an exception.
* Test whether common lambdas are registered in additionalProperties.
2019-08-10 22:15:40 -04:00
Gustaf Barkeling
ac85c8f901
Fix #3604 by adding undefined as return type to headers and credentials methods in runtime.ts ( #3605 )
2019-08-10 10:45:41 +02:00
William Cheng
5956569e7a
Prepare 4.1.1-SNAPSHOT ( #3603 )
...
* update pom
* update samples
* update pom
2019-08-10 09:41:08 +08:00
William Cheng
59c4e381d1
Prepare 4.1.0 release ( #3597 )
...
* update pom
* update doc
* update version
* add dep for nullable annotaiton
v4.1.0
2019-08-09 22:25:32 +08:00