Commit Graph

10307 Commits

Author SHA1 Message Date
akihito.nakano
e356bd4eba Update samples before starting fixes 2018-04-07 20:13:25 +09:00
wing328
9e8bdba455 undo spec change 2018-04-07 17:25:33 +08:00
wing328
7ce35d3ab7 use $ref instead of inline def for form parameters 2018-04-07 16:23:39 +08:00
wing328
d18fe7375d Merge branch 'master' into oas3_support2 2018-04-07 16:03:05 +08:00
Fabian Braun
ce930e7a63 [Jaxrs-cxf] Add bean-level cascaded beanvalidation for pojos (@Valid) fix #4738 (#7807)
* add valid for pojos #4738

* add Valid to imports for pojos #4738

* Do not generate Valid-annotation for Date-types and UUID

* * add Valid-annotation to Containers.  #4738

Collection-valued, array-valued and generally Iterable fields and properties may also be decorated with the @Valid annotation. This causes the contents of the iterator to be validated.
Quoted from: http://beanvalidation.org/1.1/spec/

* add equivalent windows-bat-script for jaxrs-cxf-petstore-server.sh

* differences on jaxrs-cxf-generated-classes introduced by other changes (not related to this PR)
2018-04-07 15:16:22 +08:00
William Cheng
d2bd41dc81
remove TypescriptInversifyAdditionalPropertiesIntegrationTest.java to (#7983)
skip integration test errors
2018-04-06 22:15:57 +08:00
ChrisNguyenGeek
85048f6a05 Removed a duplicated entry in the config file (#7981) 2018-04-06 16:33:41 +08:00
Yukio Ejiri
a3322fbf7e [kotlin] Add OkHttpClient.Builder to ApiClient. (#7907) 2018-04-06 15:27:39 +08:00
benbenw
bdd2c2a4ee Misc typescript Angular code generation improvements (#7898)
use const instead of let when possible
add missing semi-colon
replace " with '
2018-04-06 15:12:23 +08:00
Daiki Matsudate
40d5d09905 [Swift4] accept empty content with default client (#7921)
* [swift4] update mustache to accept empty body

* [swift4] update client

* [swift4] update client tests
2018-04-06 14:59:29 +08:00
Akihito Nakano
35d681b254 Fix the missing tag on FakeApi (#7952) 2018-04-06 14:27:08 +08:00
Akihito Nakano
4a5d16b236 [PHP] Fix string length validation (#7953)
* Add a test case which reproduces the issue

https://github.com/swagger-api/swagger-codegen/issues/7846

* Change `strlen` -> `mb_strlen` in order to count the length correctly

* Regenerate the samples
2018-04-06 14:20:05 +08:00
Benjamin Gill
37faaf9266 [rust-server] API version constant and composite version support (#7969)
* Add constant with API version

* Use semver::Version for ApiVersion

* Go back to API version as a string

* Rust composite services

* Actually use the version from the swagger file
2018-04-06 13:27:13 +08:00
wing328
d48c4e5038 Merge branch 'master' into oas3_support2 2018-04-05 23:49:59 +08:00
Jérémie Bresson
386b9f432a Modify "postProcessOperations" for "jaxrs-cxf-client" (#7886)
* Fix sh script for 'jaxrs-cxf-client' and generate sample

* Modify "postProcessOperations" for "jaxrs-cxf-client"

* Update "jaxrs-cxf-client" sample
2018-04-05 23:34:37 +08:00
wing328
3cb3faedc1 update swagger core version to 2.0.0 2018-04-05 16:51:33 +08:00
wing328
409015461c fix file type in qt5cpp 2018-04-05 15:56:30 +08:00
wing328
a4bcb3bc73 fix datetime and map type for qt5cpp 2018-04-05 14:36:35 +08:00
wing328
d882ad2fcb using isMapSchema in generator 2018-04-05 13:18:04 +08:00
wing328
b8031b631d fix npe by MapSchema 2018-04-04 23:02:13 +08:00
wing328
df19e1e05e fix NPE with qt5 pestore 3.0 spec 2018-04-04 22:37:12 +08:00
wing328
8dbf2ed851 add spring generator 2018-04-04 22:20:22 +08:00
wing328
7310bbf31e add openapi (json/yaml) generator 2018-04-04 22:00:15 +08:00
wing328
1bc015f5ae add java undertow server generator 2018-04-04 18:40:31 +08:00
wing328
a6c8330e10 add elm generator 2018-04-04 18:20:17 +08:00
wing328
4887be0b1e add ts inversify generator 2018-04-04 17:45:39 +08:00
wing328
ffa89dc373 Merge branch 'master' into oas3_support2 2018-04-04 17:33:28 +08:00
wing328
8b3bd049a9 add JavaJAXRSCXFCDIServerCodegen generator 2018-04-04 17:25:13 +08:00
wing328
60fdfdfbed add jaxrs spec generator, rename openapi.mustache 2018-04-04 17:18:48 +08:00
wing328
c843712cdb add java inflector 2018-04-04 17:05:07 +08:00
wing328
e53d375589 add java-msf4j generator 2018-04-04 16:57:44 +08:00
wing328
c45a217a8c add java cxf client, server generator 2018-04-04 16:51:57 +08:00
wing328
f6c268ddd9 add jaxrs jersey server generator 2018-04-04 16:32:06 +08:00
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