Mario
f61e0d4024
Add RuntimeException option ( #5405 )
...
* add option to change Exception to RuntimeException
* rename propertie
remove space in template
2017-04-21 22:13:57 +08:00
Cas Perl
122db78b1a
Issue 5375 ( #5403 )
...
* use py3 instead of py34
* fixed test to test invalid enum
* ADDED: assign variable in the ctor with property setter to check validity if possible. CHANGE: move required property check to proper place. CHANGE: remove double quotes from allowed_values for none-string enum property
* rebuilt samples
* comment for improvement
* ADDED: post process enum model for python.
* comment
* rebuilt samples
* rebuilt samples
2017-04-21 22:05:54 +08:00
Jean-Maxime Fillau
8144ab6870
Add json format in case contentType is application/json. ( #5427 )
...
Signed-off-by: FILLAU Jean-Maxime <jean-maxime.fillau@mapotempo.com>
2017-04-21 22:01:37 +08:00
Tony Tam
247be2f140
fix cache skip
2017-04-20 16:51:15 -07:00
Tony Tam
456b54b24f
fix cache skip
2017-04-20 16:49:58 -07:00
Tony Tam
c5fa38ae47
Merge pull request #5447 from swagger-api/issue-5446
...
updated to openjdk
2017-04-20 16:40:42 -07:00
Tony Tam
2155663816
Merge pull request #5445 from swagger-api/issue-5444
...
Updated to openjdk (2.3.0)
2017-04-20 10:55:46 -07:00
Tony Tam
6ea4b4d6f3
fixes #5446
2017-04-20 10:32:27 -07:00
Tony Tam
0382f39780
disable cache
2017-04-20 10:29:12 -07:00
Tony Tam
aff529c0a9
updated index file for new editor
2017-04-20 10:29:06 -07:00
Tony Tam
c6ee8226a2
updated base image
2017-04-20 10:15:20 -07:00
Julien Fouilhé
edb80df0ba
fix(swift3): fix infinite loop with inheritance and check if parent decoder exists before calling ( #5416 )
2017-04-20 22:54:35 +08:00
Julien Fouilhé
c65e663a11
fix(swift3): decoders call parents decoders too ( #5433 )
2017-04-20 22:54:01 +08:00
wing328
6359c064f3
Merge pull request #5250 from auchri/patch-1
...
[JAVA] Update gradle and android build tools
2017-04-19 15:57:14 +08:00
wing328
c72e900b95
Merge pull request #5418 from wy-z/add_xsky_to_company_list
...
[README] Add XSky to company list
2017-04-19 15:24:57 +08:00
weiyang
77bb6132f1
[README] Add XSky to company list
...
Signed-off-by: weiyang <weiyang.ones@gmail.com>
2017-04-19 15:04:05 +08:00
wing328
9c641b0111
Merge pull request #5412 from saracmert/patch-1
...
Update README.md
2017-04-19 10:18:25 +08:00
Mert Sarac
edf9f56e80
Update README.md
2017-04-18 23:16:18 +03:00
wing328
d5ac248e41
comment out test for spring cloud client for the time being
2017-04-19 01:56:13 +08:00
wing328
a1e745bdda
add back petstore sample for spring boot with bean validation
2017-04-19 01:09:14 +08:00
wing328
6d8762cfb5
Merge pull request #5411 from wing328/elizabetht-issue-5310
...
[Java][Spring] Add examples defined in the spec to Spring MVC server generator
2017-04-19 00:39:57 +08:00
wing328
813949dd00
add lamda to clean up examples, fix spring tempalate format
2017-04-18 18:14:00 +08:00
Christoph Auer
70e4dad72e
java/lib/retrofit2: Fix indent
2017-04-18 11:53:30 +02:00
Christoph Auer
9640e30f48
Update java/lib/okhttp-gson
2017-04-18 11:53:30 +02:00
Christoph Auer
4b88374df4
Update java/lib/retrofit2
2017-04-18 11:53:29 +02:00
Christoph Auer
ca87a4b817
Update java/lib/retrofit
2017-04-18 11:53:29 +02:00
Christoph Auer
5b475bcb16
Java/feign: Remove spaces at empty lines
2017-04-18 11:53:29 +02:00
Christoph Auer
83e902ba3f
Update java/lib/jersey2
2017-04-18 11:53:29 +02:00
Christoph Auer
b2674feb14
Java: Remove spaces at empty lines
2017-04-18 11:53:29 +02:00
Christoph Auer
85a58f3414
Update Java/lib/feign
2017-04-18 11:53:29 +02:00
Christoph Auer
9652ce37f7
Update android/lib/volley
2017-04-18 11:53:29 +02:00
Christoph Auer
84dc2e1dd9
Update android
2017-04-18 11:53:29 +02:00
Christoph
71b12636e4
[JAVA] Update gradle and android build tools
2017-04-18 11:53:28 +02:00
Benjamin Douglas
7d22605473
Adding stub test for CXF
...
It looks like these are not automatically generated and so needed to be filled
in manually.
2017-04-17 18:23:11 -07:00
Benjamin Douglas
07ba1eb6f8
Fixup generation of Javascript samples
...
The generation code was ignoring top-level aliases for any language config that
contained "java", which included "javascript", a completely different language.
Changed this to be those configs based on the JavaAbstractGenerator class.
2017-04-17 17:50:01 -07:00
Benjamin Douglas
73454e95dc
Fixed up duplicate pom ids
...
These were generated by bin/run-all-petstore, so ultimately that script should
be modified to not generate the duplicate artifact ids.
2017-04-17 16:30:38 -07:00
Benjamin Douglas
9058099e5b
Add alias type definitions for Java
...
When a spec defines a Model at the top level that is a non-aggretate type (such
as string, number or boolean), it essentially represents an alias for the simple
type. For example, the following spec snippet creates an alias of the boolean
type that for all intents and purposes acts just like a regular boolean.
definitions:
JustABoolean:
type: boolean
This can be modeled in some languages through built-in mechanisms, such as
typedefs in C++. Java, however, just not have a clean way of representing this.
This change introduces an internal mechanism for representing aliases. It
maintains a map in DefaultCodegen that tracks these types of definitions, and
wherever it sees the "JustABoolean" type in the spec, it generates code that
uses the built-in "Boolean" instead.
This functionality currenlty only applies to Java, but could be extended to
other languages later.
The change adds a few examples of this to the fake endpoint spec for testing,
which means all of the samples change as well.
2017-04-17 12:58:31 -07:00
wing328
a17e80dfb1
minor fix to spring use of examples
2017-04-18 01:42:29 +08:00
wing328
3ca77d3cf2
Merge branch 'issue-5310' of https://github.com/elizabetht/swagger-codegen into elizabetht-issue-5310
2017-04-18 00:52:52 +08:00
Julien Fouilhé
b1a39ac820
fix(swift3): decoders call parents decoders too ( #5369 )
2017-04-18 00:03:52 +08:00
wing328
647f3601f9
Merge branch 'LEgregius-spring-resource-file-streams2'
2017-04-17 23:47:02 +08:00
wing328
34a99d6dba
update spring petstore samples
2017-04-17 23:32:03 +08:00
wing328
ba32f66714
Merge branch 'spring-resource-file-streams' of https://github.com/LEgregius/swagger-codegen into LEgregius-spring-resource-file-streams2
2017-04-17 23:26:09 +08:00
wing328
a32774c541
update spring boot bean validation script
2017-04-17 23:25:27 +08:00
wing328
c7ccb1a9a9
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-17 23:05:46 +08:00
Eric Bélanger
fd289ac6de
[JavaSpring] add support for map minProperties and maxProperties bean validation ( #5395 )
2017-04-17 22:47:21 +08:00
Tino Fuhrmann
e858f2390b
[TypeScript] fix class filename in import/export ( #5396 )
...
* Fixed classFilename in typescript-angular and recreated samples
* Changed classname to classFilename in ts-angular2/models.mustache
Also recreated ts-angular2 sample
2017-04-17 22:43:33 +08:00
hossamhossny
e2cd00f905
Update README.md ( #5402 )
...
adding company.
2017-04-16 21:35:34 +08:00
Elizabeth Thomas
ec4b3307fe
Merge pull request #1 from elizabetht/master
...
Elizabeth/Joy - adding example support if specified in the swagger spec
2017-04-13 10:02:23 -05:00
Thomas, Elizabeth-CW
02bcad36fd
Elizabeth/Joy - adding example support if specified in the swagger spec
2017-04-13 09:31:07 -05:00