12424 Commits

Author SHA1 Message Date
wing328
b45b0c6cd1 add java resteasy eap server generator 2018-04-04 16:22:24 +08:00
wing328
5180881a50 add resteasy server genrator 2018-04-04 16:16:04 +08:00
Yukio Ejiri
3c5fb1d809 [kotlin] Add json annotation to each enum value. (#7908)
* [kotlin] Add moshi.Json annotation.

* [kotlin] update petstore samples.

* [kotlin] Remove extra new lines.
2018-04-04 15:26:19 +08:00
wing328
1db42ba317 add jmeter generator 2018-04-04 00:56:12 +08:00
Gualtieri Mario
e2c58fad71 Add typescript-inversify code generator (#7885)
* Add typescript-inversify language

* Add windows script


Add windows script

* Use rxjs instead of rx and encoding only the value of URL parameters

* Remove lodash dependency


Remove lodash dependency

* Readd linux user detail on run-docker script

* Solve import problems

* Remove configuration template

* Add usePromise config's variable

* Align Test to check usePromise config parameter

* Add possibility to receive all the httpResponse

* Better ts-lint on api service

* Update sample client example with new ts-lint

* Update petstore sample with new ts-lint
2018-04-04 00:30:53 +08:00
wing328
581b22bbc0 add java pkmst server generator 2018-04-04 00:24:01 +08:00
gs
240aad8686 Additional reserved python keywords (#7956) 2018-04-04 00:15:15 +08:00
William Cheng
74fa9418d8
add link to Swagger Codegen eBook in Japanese 2018-04-04 00:14:06 +08:00
wing328
8b39024932 add java vertx server generator 2018-04-03 22:04:51 +08:00
wing328
2297a70512 add play generator 2018-04-03 15:59:15 +08:00
wing328
d4cd0bdc3e add java generator 2018-04-03 15:45:24 +08:00
wing328
ffecaa1b0b add html, html2 generators 2018-04-03 14:36:08 +08:00
wing328
0081a2b89f add dynamic-html generator 2018-04-03 14:21:31 +08:00
wing328
e2b9c8323d Merge branch 'master' into oas3_support2 2018-04-02 23:01:07 +08:00
wing328
70fec38022 remove old codegen files 2018-04-02 22:53:22 +08:00
murzic4
bad1885b47 fix #7906 [cpprest] add parameterToString for number type with unspecified format (double) (#7929) 2018-04-02 16:44:09 +08:00
wing328
5d1874028b add class as a keyword in objc generator 2018-04-02 16:36:01 +08:00
wing328
904cdc0d5b Merge branch 'master' into oas3_support2 2018-04-02 16:34:11 +08:00
wing328
7673813648 update cpp qt5 sample 2018-04-02 16:25:35 +08:00
Martin Delille
23b31aba89 [qt5cpp] Fix crash when API return a map container (#7933)
* [qt5cpp] Fix crash when API return a map container

* qint32 => {{returnBaseType}}
2018-04-02 16:24:57 +08:00
William Cheng
f2186b212c
Merge pull request #4 from wing328/qt-update-client
Qt update client
2018-04-02 16:06:56 +08:00
wing328
b550471573 fix long cast to int 2018-04-02 16:03:40 +08:00
wing328
d690f429df fix model name when obtaining from get$ref 2018-04-02 15:28:03 +08:00
aneeshkasokan
1b8df5c20f Update ObjcClientCodegen.java (#7950)
Added "class" as a reserved keyword for Objc.
2018-04-02 15:05:32 +08:00
Euan Kemp
b443573945 [Rust] Implement minimal auth support (#7338)
* [Rust] Implement minimal auth support

This is pretty much the bare minimum needed to get v2 auth working.

This is partly based on the Go implementation.

* [Rust] properly format query string

* [Rust] Improve auth formatting

* [Rust] Regenerate petstore sample
2018-04-02 14:58:26 +08:00
wing328
d40c28b2b9 add rust client, server generator 2018-04-02 12:53:06 +08:00
Benjamin Gill
6c7813e79c [rust-server] asynchronous support via hyper v0.11 (#7896)
* End use of deprecated openssl method

* Enhance rust-server to use hyper 0.11 to support handling operations asynchronously

The changes are complete and working (at least for microservices tested within Metaswitch).  This isn't completely compatible with the (previous/current) synchronous swagger-codegen.  Specifically,

*   `Client` is no longer `Send + Sync`
*   Api implementations used by Server are no longer expected to be `Send + Sync` (which is good, because it's quite hard if `Client` isn't)
*   the code to create `Client`s and `Server`s, and hook them into `hyper` or `tokio` is different.

Importantly, though, the business logic itself should be unchanged.

* Re-adds the `basePath` element to all server endpoints. This mean clients and servers can talk to each other again.

* Fix multipart formdata codegen

* Fix up handling of multipart messages
* Fix server -> client multipart message response
* Correct handling of optional file types

* Add authorization header to requests with basic auth

* Add client support for `application/x-www-form-urlencoded`

* Import uuid library if headers use UUID type

* Add BASE_PATH to the server module.

* Wrap client connector

* Support both query and body parameters on the same operation
2018-04-02 10:32:45 +08:00
wing328
9b5c71fdb2 add eiffel generator 2018-04-02 10:29:35 +08:00
wing328
960198d345 flash generator code format, update default value 2018-04-02 10:00:52 +08:00
wing328
6f5dee6169 add flash generator 2018-04-02 09:44:05 +08:00
wing328
bbadc7f439 add scalatra generator 2018-04-02 00:33:58 +08:00
wing328
9226ce61b1 add scalaz generator 2018-04-01 23:49:21 +08:00
wing328
3fc37cf13a add scala lagom server generator 2018-04-01 23:34:56 +08:00
wing328
e9089c85ae add scala gatling server 2018-04-01 23:13:50 +08:00
wing328
00f73f0ea8 add finch generator 2018-04-01 22:41:39 +08:00
wing328
cba5d7cabe Merge branch 'oas3_support2' of https://github.com/wing328/generate_test into oas3_support2 2018-04-01 22:25:50 +08:00
wing328
b0fc3e94a3 format code, add helper function to check body/form param 2018-04-01 22:25:22 +08:00
William Cheng
2fb9ce43b5
Merge pull request #9 from ackintosh/fix-discriminator
Fix broken discriminator
2018-04-01 19:09:54 +08:00
akihito.nakano
28fcf48f42 Add a method returns discriminator name
refs https://github.com/wing328/openapi-generator/pull/9#issuecomment-377776109
2018-04-01 19:38:19 +09:00
wing328
240d1fe7eb Merge branch 'oas3_support2' of https://github.com/wing328/generate_test into oas3_support2 2018-04-01 17:57:45 +08:00
wing328
af17953bf9 add apex generator 2018-04-01 17:57:21 +08:00
akihito.nakano
7daa2ec5da Fix broken discriminator 2018-04-01 18:29:13 +09:00
William Cheng
24db65b2b9
Merge pull request #8 from ackintosh/fix-required-flag
Fix 'required' flag
2018-04-01 14:37:04 +08:00
akihito.nakano
57bb63bd77 Update the sample codes
bin/openapi3/php-petstore.sh
2018-04-01 13:07:20 +09:00
akihito.nakano
8e191a121b Fix 'required' flag 2018-04-01 13:05:57 +09:00
wing328
88f48c4a41 add Ada client, server generator 2018-04-01 11:19:22 +08:00
akihito.nakano
bd19c6bdea Update samples under openapi3 folder
Apply changes that comes with master
bin/openapi3/php-petstore.sh
2018-04-01 12:11:29 +09:00
wing328
b287520e8a Merge branch 'master' into oas3_support2 2018-04-01 01:45:34 +08:00
William Cheng
f0497e249d
Merge pull request #7 from ackintosh/fix-missing-requestbody-param
Fix missing requestBody param
2018-04-01 00:58:31 +08:00
wing328
64037ee59f update docker-related filee to ues jdk8 2018-04-01 00:52:09 +08:00