William Cheng
8d3a1a5add
Merge remote-tracking branch 'origin/master' into 4.1.x
2019-06-03 00:06:43 +08:00
Chris Couzens
522a1a2372
Ruby client: escape path parameters ( #3039 )
...
* Ruby client: escape path parameters
Path parameters should be escaped when encoded into the path.
In the path '/pet/{petId}' let's pretend petId is a string instead of a
number.
If the user uses "Bobby" as the petId then they correctly get the path
'/pet/Bobby'.
But if they put 'Bobby/Tables' as the petId then they used to get the
path '/pet/Bobby/Tables' which will be interpreted by the server as a
different route.
Using CGI::Escape they now get '/pet/Bobby%2FTables' which is correct.
* Ruby client- regenerate further files
Thank you @autopp for noticing I needed to update
`samples/openapi3/client/petstore/ruby`.
Regenerated by running `bin/openapi3/ruby-client-petstore.sh`.
PR #3039
2019-06-03 00:24:30 +09:00
Jérémie Bresson
dc81574f2b
Update version to 4.0.2-SNAPSHOT ( #3047 )
...
* Update version to 4.0.2-SNAPSHOT
* Update samples
* Change AppVeyor script (test of gradle sample)
* Fix release version bump script (gradle plugin, sample poms)
* Include sonatype snapshots in maven examples which reference 4.0.2-SNAPSHOT
2019-06-01 21:32:44 -04:00
Jan Buchar
c509d9897a
[typescript-fetch] Fix uploading files ( #2900 )
...
* [typescript-fetch] Fix uploading files
* Check for Blob instead of File
* Update samples
* Update samples
* Update samples
* Update samples
* Regenerate samples
* Bug
* Manually fix samples
* Implement support for Buffer and Blob in a backwards-compatible way
* Rework how blob and buffer instance checking works
* Check for Blob/Buffer existence properly
* Avoid using Buffer and Blob in type declarations
* Remove Buffer support
* Update samples/client/petstore/typescript-fetch/tests/default/test/PetApi.ts
Co-Authored-By: Esteban Marin <estebanmarin@gmx.ch>
* Update samples/client/petstore/typescript-fetch/tests/default/test/PetApi.ts
Co-Authored-By: Esteban Marin <estebanmarin@gmx.ch>
2019-05-31 14:15:32 +08:00
Michael Cristina
a2e84c348c
fix(golang): Check error of xml Encode ( #3027 )
2019-05-31 00:50:34 +08:00
sunn
aae97638a9
Remove null checks for C# value types ( #2933 )
2019-05-30 18:06:42 +08:00
Sai Giridhar P
e3bc228dd5
[python] Adding constructor parameters to Configuration and improving documentation ( #3002 )
...
* feat(python): Updated configuration's constructor and documentation
* feat(python): Updated documentation
* feat(python): Updated pet project
* feat(python): Updated pet project
* feat(python): Fixing host
* feat(python): Updating pet project
* feat(python): Fixing indentation
2019-05-30 00:50:26 +08:00
Sai Giridhar P
f93e75b078
[java-okhttp]: Make example snippets code compilable ( #3016 )
...
* fix(okhttp-gson): Make example executable
* fix(okhttp-gson): Make example executable
* fix(okhttp-gson): Make example executable
* fix(okhttp-gson): Updating pet project
* fix(okhttp-gson): Updating parcelable project
* fix(okhttp-gson): Using {{{}}}
2019-05-29 00:58:23 +08:00
Sai Giridhar P
0a037ae111
[csharp] Making example code snippet compilable ( #3019 )
...
* fix(okhttp-gson): Updating example
* fix(csharp): Updating example
* fix(csharp): Updating pet project
* fix(csharp): Updating example
2019-05-29 00:57:06 +08:00
Sai Giridhar P
499c8ac5c1
[java-okhttpgson]: Include API's Http response codes and their corresponding description and response headers in the documentation ( #2995 )
...
* fix(okhttp-gson-java): Adding response headers on api_doc.mustache
* feat(okhttp-gson): Adding Http response headers to docs and javadocs
* feat(okhttp-gson): Included dots in custom tage
* feat(java-okhttpgson): Updating pet project
* feat(java-okhttpgson): Updating other pet project
2019-05-29 00:55:59 +08:00
Erik Timmers
38b1fe2d36
Add support for enums in Elm operations ( #2982 )
2019-05-28 23:00:04 +08:00
Vincent Devos
d748312818
[KOTLIN client] fix Moshi (Serializer/Deserializer) duplicated ( #3013 )
2019-05-28 15:15:06 +08:00
William Cheng
60e6371fc5
fix class hardcode to pet ( #3014 )
2019-05-28 00:45:01 +08:00
Gualtieri Mario
50878fbc2e
[TS][Inverisify] Adding support for RxJS 6 ( #2793 )
...
* Add support to http patch method
* Add support to rxjs6
* Align sample
* Add sample for openapi3
* Change usage of single quote to use only double ones
* Fix wrong changes of typescript-angular package.json template
* Add `map` keyword inside reservedWords
* Add typescript-inversify inside README
Add typescript-inversify inside README
* fix merge issue, update petstore
* update doc
2019-05-27 23:33:07 +08:00
William Cheng
b88b1d656a
Add auto-generated tests and travis config to Dart clients ( #3006 )
...
* add auto-generated tests and travis config for dart
* improve tests
* fix tests
* add test, travis files to dart jaguar generator
2019-05-27 18:44:57 +08:00
William Cheng
5c6824f569
update feign to the latest stable version ( #2999 )
2019-05-27 15:11:02 +08:00
vellengs
e4f56d5906
To fix conflict params name 'url' ( #2921 )
...
* To fix conflict params name 'url'
Sometime we have api params named url that will conflict with imported module url named url.
* run samples
* run samples
* update samples
* update ts axios petstore all
2019-05-27 09:42:41 +08:00
Sai Giridhar P
d0a8d68512
[csharp-netcore] Enabling XML documentation on csharp-netcore client ( #2996 )
...
* feat(csharp-netcore): Enabling xml documentation
* feat(csharp-dotnetcore): Updating pet
* feat(csharp-netcore): Updating csproc with documentation file
* feat(csharp-netcore): Updating netcore project's csproc
* feat(csharp-netcore): Updating pet project
* feat(csharp-netcore): Updating pet project
* feat(csharp-netcore): Updating ensure-up-to-date script
2019-05-27 01:22:31 +08:00
William Cheng
ff1c7c87ef
update jackson joda version, samples ( #3005 )
2019-05-27 00:26:24 +08:00
sunn
2e6b911022
Set default base path and change constructor to const ref ( #2973 )
2019-05-26 17:03:48 +08:00
William Cheng
2bc9592bd5
Revert "Add auto-generated tests and travis config to Dart clients ( #2909 )" ( #3001 )
...
This reverts commit dfda6655ec4add93b03bf351287286523cb53e97.
2019-05-26 01:50:31 +08:00
William Cheng
dfda6655ec
Add auto-generated tests and travis config to Dart clients ( #2909 )
...
* add auto-generated tests and travis config for dart
* improve tests
* fix tests
2019-05-25 22:52:30 +08:00
William Cheng
d243a6b96d
Update jackson-databind to address security issues ( #2993 )
...
* update jackson-databind to address security issue
* update java vertx client dev, sample
* update dep, samples
* update retrofit play2 dep
2019-05-25 18:24:37 +08:00
Vincent Devos
c4bf6588aa
[Kotlin client] Improve JSON parser ( #2981 )
...
* [Kotlin client] Improve JSON parser
* fix import in model for threetenbp date
2019-05-24 17:11:26 -04:00
kroegerama
213c015c95
improve Kotlin code quality ( #2988 )
...
* improve Kotlin code quality
* regenerate kotlin samples
2019-05-25 00:18:25 +08:00
Shenghan Gao
268196e7f6
[Python] Remove unnecessary if else. ( #2985 )
...
* Remove Unnecessary `if else`
* update samples
2019-05-25 00:10:11 +08:00
Keiju Matsumoto
1e06d7fe88
[Kotlin] Fix parse error when using custom field names with @Json ( #2944 )
...
* Fix to use isEmpty method
* Add KotlinJsonAdapterFactory to moshi adapter
* Update petstore sample
2019-05-22 20:58:38 +09:00
Sai Giridhar P
689534cfd7
[C#] Enabling XML documentation in the C# client ( #2953 )
...
* feat(csharp-issue-2952): Enabling XML documentation
* feat(csharp-issue-2952): Updating pet
2019-05-22 18:31:00 +08:00
William Cheng
be8c5faa50
[PHP] Fix group parameters in WithHttpInfo method ( #2951 )
...
* fix group paramaeter in php withhttpinfo method
* update php openapi3 samples
2019-05-22 18:20:55 +08:00
William Cheng
5ad318bfae
update apex petstore, add apex to ensure-uptodate
2019-05-20 21:34:54 +08:00
Jeremie Bresson
653d479efb
Merge remote-tracking branch 'origin/4.1.x' into HEAD
2019-05-20 13:09:36 +02:00
Jeremie Bresson
98348a9ee6
Merge remote-tracking branch 'origin/master' into HEAD
2019-05-20 13:06:34 +02:00
Vincent Devos
3014ece6d8
[Typescript] remove deprecated typings ( #2880 )
...
* [Typescript] remove deprecated typings
* add typescript-v7 CI tests
2019-05-20 16:59:12 +08:00
Erik Hvattum
87c9de210f
Feature/typescript fetch/map templating ( #2913 )
...
* Add openapi dictionary/map support to typescript-fetch client generator
Change isContainer -> isListContainer for existing array support.
Add isMapContainer control flow, adding map support.
Add utility function to help map openapi map/dictionaries to ts maps.
Close #1878
* Run typescript-fetch generator scripts and update output files
2019-05-20 16:54:43 +08:00
Vincent Devos
6bffe4dbc7
[Groovy] improve code parsing body/form params ( #2879 )
...
* [Groovy] improve code parsing body/form params
* remove leading space
* remove leading space
2019-05-20 11:20:48 +08:00
ircecho
049d24ee4f
dart2: update to work with dart 2.3.0 ( #2894 )
...
* dart2: update to work with dart 2.3.0
* dart2: update to work with dart 2.3.0
2019-05-15 22:49:54 +08:00
William Cheng
94fc0474b9
update version 5.0.0-snapshot and samples
2019-05-15 01:54:29 +08:00
William Cheng
24187b8186
update petstore samples
2019-05-15 00:10:03 +08:00
William Cheng
cbe39ba881
Set version to 4.0.1-SNAPSHOT ( #2882 )
2019-05-14 10:28:32 +02:00
William Cheng
dc0c24b955
Minor wording change ( #2875 )
...
* better wording for version of openapi doc
* update petstore samples
2019-05-13 15:59:59 +08:00
Akira Tanimura
25392b9fd9
[Ruby] update TargetRubyVersion in .rubocop.yml to 2.4 ( #2876 )
2019-05-13 14:52:58 +08:00
Jonas DOREL
305f78c52b
JS Client - Add support for empty enum in server object ( #2853 )
...
* Add support for empty enum in server object
* Updated samples
2019-05-13 14:21:43 +08:00
William Cheng
9d3c1f2262
update groovy readme ( #2874 )
2019-05-12 11:50:12 +08:00
William Cheng
001854171e
upgrade groovy to 2.5.7 ( #2871 )
2019-05-12 01:48:42 +08:00
William Cheng
0994ec3909
update ts rxjs samples
2019-05-11 12:19:08 +08:00
Vincent Devos
ef26ce68d4
[Kotlin] client improvement / remove WildCards in client/server ( #2862 )
2019-05-11 11:42:11 +08:00
Vincent Devos
98afbe062b
[GROOVY] update client generator to a stable version ( #2847 )
...
* [GROOVY] update client generator to a stable version
* fix tab
* fix remove using invokerPackage
* fix test
2019-05-11 11:10:25 +08:00
Béres Zoltán
757fcfeac6
Fixed vertex ApiClient template ( #2841 )
...
* updated java/vertex ApiClient template
* update java samples
2019-05-10 00:56:39 +08:00
Slavek Kabrda
21b8160d00
[Golang][client] Make it possible to generate go.mod and go.sum files - fixes #2796 ( #2813 )
2019-05-08 14:52:17 +08:00
Thiago Arrais
f2b1f770f8
[go] fix multipart for non-file inputs ( #2792 )
...
* [go] fix multipart for non-file inputs
* update relevant sample client
2019-05-08 11:19:06 +08:00