Commit Graph

5802 Commits

Author SHA1 Message Date
diyfr
4921ee8c4c Update javax-servlet-api 3.0(missing in repo maven) to 3.0.1 2016-04-28 13:57:18 +02:00
diyfr
1836f4e8c6 Generate springmvc sample petstore 2016-04-28 10:55:48 +02:00
diyfr
91a023569b Update missing dependencies ApiInfoBuilder 2016-04-28 10:50:25 +02:00
diyfr
31f5675e72 Create windows script for spring-mvc-petstore-j8-async-server sample 2016-04-28 10:37:55 +02:00
diyfr
2d0a5210db Create Windows Script for Pet Sample with springMVC 2016-04-28 10:17:44 +02:00
wing328
b5e5ea6b6e Merge pull request #2734 from achew22/javascript_closure_angular_types
Improve type checking for closure-angular
2016-04-28 15:42:45 +08:00
Andrew Z Allen
8a330e9dad Improve type checking for closure-angular
Closure angular now has more accurate type checking enabled.
2016-04-28 06:16:43 +00:00
diyfr
0de7b49046 Update jetty-version 2016-04-28 08:12:21 +02:00
Guo Huang
8caa8abfc1 added packageName in the codegen option 2016-04-27 22:47:57 -07:00
wing328
f1ba6f5598 Merge pull request #2479 from ergon/feature/update-mainline-retrofit
Update retrofit2 and retrofit2rx to use retrofit 2.0.1
2016-04-28 11:44:55 +08:00
abcsun
fbde7f88ee add parameter validation in methord call 2016-04-28 10:39:54 +08:00
Scott Williams
1674ec3799 Fix generated test directory name conflicting with sample test directory name 2016-04-27 22:53:22 +01:00
Guo Huang
3540c44e71 renamed variable 2016-04-27 14:33:04 -07:00
Guo Huang
2f8a8c05e0 Issue #2725: added condition to import json based on return type 2016-04-27 14:29:05 -07:00
Kristof Vrolijkx
fbbcdab439 fixing generation of incorrect package, typings and tsconfig 2016-04-27 23:11:39 +02:00
Scott Williams
066baf3c16 Update comments in generated unit test stubs 2016-04-27 22:02:48 +01:00
Scott Williams
f59c43dffb Issue #2276 Auto generated test stubs 2016-04-27 20:53:48 +01:00
Arne Jørgensen
5d57bb1e62 [PHP] Regenerate petstore sample 2016-04-27 21:04:06 +02:00
Arne Jørgensen
9f40a82310 [PHP] Fix ArrayAccess interface implmentation in models
The models didn't implement a generally working ArrayAccess
interface. This would fail on list container types (array).

This commit refactors some internals of the model object. The model
properties are no longer stored as separate properties on the PHP object
but as entries in a `$container` property.

This is needed to make the model work also for list containers. Besides
it avoids potential problems where the model would specify property
names that could collide with names used by the Swagger model
implementation itself (i.e. `$attributeMap`).
2016-04-27 21:00:58 +02:00
Arne Jørgensen
bbe12c1658 [PHP] Use parentSchema instead parent to detect inheritance
`parent` in a model is set not only when the model inherits from another
model but also when a parent container exists.

So We will now use `parentSchema` to check whether a parent class
exists. If si we still use `parent` to output the class name because
that has been converted to a proper model name and `parentSchema`
hasn't.
2016-04-27 21:00:58 +02:00
Arne Jørgensen
7f99469efd [PHP] Add test case testing ArrayAccess interface
Test if we implement the ArrayAccess interface correct on out model objects.
2016-04-27 21:00:58 +02:00
wing328
67b6c3f3d3 Merge pull request #2721 from fabdslv/issue-2116
Fix typo introduced while fixing #2116
2016-04-27 21:42:16 +08:00
wing328
46f049bef1 Merge pull request #2719 from wing328/add_uuid_mapping
[Python] mapped uuid to str in python
2016-04-27 21:14:00 +08:00
Fabien Da Silva
74fb6175b6 Fix typo introduced while fixing #2116 2016-04-27 13:25:33 +02:00
wing328
0244c62b47 Merge pull request #2718 from neilotoole/issue-2717
issue #2717 - go code won't compile due to not respecting packageName variable
2016-04-27 17:55:59 +08:00
diyfr
adf0833527 Update swaggerConfig.mustache with springfox-code-2.4.0
ApiInfo have a Builder in springfox version 2.4.0 
see springfox.documentation.builders.ApiInfoBuilder
nota String contact is deprecated use springfox.documentation.service (String name, String url, String email)
2016-04-27 11:41:34 +02:00
diyfr
c503396a42 Update Dependacies
Update to Springfox 2.4 and maven war plugin to 2.6
2016-04-27 11:39:30 +02:00
wing328
87c6566bd0 mapped uuid to str in python 2016-04-27 17:37:44 +08:00
wing328
59f9849ca0 Merge pull request #2716 from wing328/better_naming_pattern_function
Renmae toJSONSchemaPattern to toRegularExpression
2016-04-27 16:39:34 +08:00
Neil O'Toole
8753faf2a5 issue #2717 - go code won't compile due to not respecting packageName var 2016-04-27 09:19:23 +01:00
wing328
4d3f82e701 renmae toJSONSchemaPattern to toRegularExpression 2016-04-27 16:09:53 +08:00
Silvio Heuberger
39c08b2cfc Regenrate samples after updating the libraries in pom and build.gradle mustache 2016-04-27 10:03:45 +02:00
Silvio Heuberger
21b39e24af Update libraries to the newest stable version 2016-04-27 10:01:56 +02:00
wing328
3289933405 Merge pull request #2708 from PagerDuty/ruby-model-boolean-fix
Fix ruby model Boolean Attributes not being set
2016-04-27 13:46:21 +08:00
wing328
d9e4d5ccd1 Merge pull request #2637 from fabdslv/issue-2116
[Swift] Force required attrs to be defined with unwrapRequired
2016-04-27 13:32:41 +08:00
wing328
3ea3f9f0bf Merge pull request #2712 from neilotoole/issue-2711-equals-hashcode
issue #2711 adding equals, hashcode etc to model classes
2016-04-27 13:17:40 +08:00
wing328
1169abac2e Merge pull request #2707 from wing328/qt5_date
[Qt5][C++] fix date mapping in qt5cpp
2016-04-27 10:33:14 +08:00
Neil O'Toole
dab2b13df1 issue #2711 adding equals, hashcode etc to model classes 2016-04-27 01:32:02 +01:00
Brian Hou
1361bb7c0b Fix ruby model boolean attributes 2016-04-26 10:21:16 -07:00
wing328
2b71165584 fix date mapping in qt5cpp 2016-04-27 00:06:29 +08:00
wing328
07d2374320 Merge pull request #2699 from mateuszmackowiak/feature/obj/jsonModel_deserialization_errors
#1907 JsonModel deserialization errors
2016-04-26 21:20:50 +08:00
Silvio Heuberger
4b3dad7fb0 Fix pom.mustache of retrofit2 client lib 2016-04-26 14:24:47 +02:00
Silvio Heuberger
a3701cd81c Update retrofit2 and retrofit2rx to use retrofit 2.0.1 2016-04-26 14:24:47 +02:00
wing328
47242c510d Merge pull request #2697 from wing328/ruby_parameter_validation
[Ruby] Add parameter validation in method call
2016-04-26 14:06:01 +08:00
Kristof Vrolijkx
c91f23c2ca adding extra nodeClientOptions 2016-04-25 23:00:48 +02:00
Mateusz Mackowiak
18783e3fc7 #1907 JsonModel deserialization errors 2016-04-25 19:04:00 +02:00
Fabien Da Silva
dc4c8e5864 [Swift] Force required attrs to be defined with unwrapRequired
Fix #2116
Removal of forced unwrapping, replaced by required attributes in constructor
2016-04-25 18:36:32 +02:00
wing328
875414ff64 add new ruby files 2016-04-26 00:32:01 +08:00
wing328
354449ebfe add validation to method parameters 2016-04-26 00:06:44 +08:00
wing328
89703d86b7 add hasValidation to codegenParameter 2016-04-25 22:45:45 +08:00