Commit Graph

4503 Commits

Author SHA1 Message Date
Tamby Kojak
f12311307e Typo in README
Clent -> Client
2016-01-26 13:18:55 -05:00
wing328
f2ab4db419 Merge pull request #1965 from wing328/ts_option_property_naming
[TypeScript] add an option to determine property naming convention
2016-01-26 16:54:20 +08:00
wing328
afd451ec04 Merge pull request #1928 from ergon/feature/retrofit2-rx
Feature/retrofit2 rx
2016-01-26 15:58:08 +08:00
wing328
fc88cb9801 Merge pull request #1967 from wing328/support-jaxrs-cxf-2
[Java][JAX-RS] Support JAX-RS CXF
2016-01-26 15:46:54 +08:00
wing328
2e0047cf86 rename jarxs generator 2016-01-26 15:34:43 +08:00
wing328
2046580d41 update based on discussion on
https://github.com/swagger-api/swagger-codegen/pull/1967/files#r50697083
2016-01-26 15:23:50 +08:00
wing328
17f8931887 add default help text for new ts option 2016-01-26 15:02:26 +08:00
wing328
d5d1c7b98f remove unused default value 2016-01-26 15:00:41 +08:00
wing328
abe039a05f fix test case 2016-01-26 15:00:41 +08:00
wing328
218ea50d61 update ts samples 2016-01-26 15:00:41 +08:00
wing328
4971461a23 ts add option for model property naming 2016-01-26 15:00:41 +08:00
wing328
6c531142a9 Merge pull request #1969 from jimschubert/csharp_List_to_ICollection_Tests
[csharp] Model tests for List/Collection options
2016-01-26 14:45:47 +08:00
Tony Tam
decedb6c91 Merge pull request #1977 from swagger-api/issue-1976
added args for maven plugin
2016-01-25 22:08:22 -08:00
Tony Tam
3ddccb5e5c fix for #1976, added missing types 2016-01-25 21:34:28 -08:00
Tony Tam
b641d4a17a refactored for access in maven plugin 2016-01-25 21:33:58 -08:00
wing328
ca941b1e3c Merge pull request #1947 from xhh/javascript-default-headers
[JavaScript] Add default headers and some tests
2016-01-26 12:40:29 +08:00
Jim Schubert
c9a0ff7482 [csharp] Model tests for List/Collection options 2016-01-25 12:45:44 -05:00
wing328
741974c1a9 add shell script for jaxrs-cxf 2016-01-25 22:23:25 +08:00
Silvio Heuberger
e34706386f Change the artifact identifier for the retrofit2-rx sample 2016-01-25 10:29:13 +01:00
Silvio Heuberger
d60f7d1186 Change templates and test code so that the sample is 1.7 compatible
Alas.
2016-01-25 10:29:13 +01:00
Silvio Heuberger
8bb774f821 Add retrofit2rx sample to samples profile
This is so that the sample gets compiled
and executed on mvn verify.
2016-01-25 10:29:13 +01:00
Silvio Heuberger
042dd59a38 Add sample client usage for retrofit2 with rx adapter and java 8 2016-01-25 10:29:13 +01:00
Silvio Heuberger
7dcc1c839e Add script for sample generation and adapt gradle and pom templates 2016-01-25 10:29:13 +01:00
Silvio Heuberger
886abda926 Add 'useRxJava' option to retrofit2 java client generator
This still uses retrofit 2.0.0-beta2 because the api
in beta3 has changed and the package
has been renamed to retrofit2.*

Change retrofit-rx to be a library option
2016-01-25 10:29:13 +01:00
Silvio Heuberger
06827da943 Remove retrofit remnant from javascript client code generator
I highly doubt this code is ever executed.
2016-01-25 10:28:08 +01:00
wing328
9e5e9cba8a Merge pull request #1964 from jimschubert/csharp_List_to_ICollection
[csharp] Return ICollection<T> instead of List<T>
2016-01-25 14:28:20 +08:00
Jim Schubert
b4eed0d147 Merge branch 'master' into csharp_List_to_ICollection 2016-01-24 23:00:56 -05:00
Jim Schubert
2e958f9223 [csharp] Collections options tests, fix model using directive 2016-01-24 22:55:37 -05:00
wing328
a0b4a07d08 Merge pull request #1960 from dilipkrish/master
Updated the code generation for spring mvc
2016-01-25 10:19:12 +08:00
wing328
fc83139483 resolve minor issue after rebase 2016-01-25 01:11:20 +08:00
Maelig Nantel
668610f7fc Include JAX-RS CXF in the readme 2016-01-25 00:49:41 +08:00
Maelig Nantel
491f97f7ef rename codegen names 2016-01-25 00:49:41 +08:00
Maelig Nantel
6d6f366db4 Finish
Tests ok. Some modifications may be done later, maybe...
2016-01-25 00:49:41 +08:00
Maelig Nantel
f3659f88a8 Work almost finish
Aask @wing328 if the modificatgion in the DefaultGenerator class is a
problem. If needed, find a way to do it only for the CXF Codegen.
TODO: Maybe create an abstract JAX-RS Codegen and make Jersey & CXF
extends it ? CXF should not extends Jersey since there at two different
frameworks implementing the JAX-RS specification.
Important: nothing is tested yet, only visual checks during Maven build.
2016-01-25 00:49:07 +08:00
Maelig Nantel
1dbc8a8552 Unit test correction
A unit test was in error due to a duplicate key in a map. Joda library
is now used by default for JAX-RS code generation.
2016-01-25 00:48:30 +08:00
Maelig Nantel
63b7e24c22 merge resolution 2016-01-25 00:48:30 +08:00
Maelig Nantel
3648a79965 Add CXF codegen
Also rename the existing JAX-RS codegen to JAX-RS-Jersey1 codegen, since
JAX-RS is only a specification. Jersey and CXF are both an
implementation of the JAX-RS specification.
2016-01-25 00:47:29 +08:00
Maelig Nantel
44c1e27680 Add mustache template files for Apache CXF support
probably not the final version of the templates
2016-01-25 00:46:02 +08:00
Jim Schubert
0bb30ddccd Merge branch 'master' of github.com:swagger-api/swagger-codegen into csharp_List_to_ICollection 2016-01-24 09:35:46 -05:00
Jim Schubert
9dc40128ac [csharp] Options: useCollection, returnICollection
This change is inline with Microsoft's recommended guidelines for
collects
(https://msdn.microsoft.com/en-us/library/dn169389(v=vs.110).aspx).

Added generator options for csharp to:

* useCollection: Deserialize responses into and return Collection<T>
* returnICollection: For List<T> or Collection<T>, return ICollection<T>
  instead of the concrete type

As a consequence of useCollection, method imputs will also change to
Collection<T>.
2016-01-24 09:13:39 -05:00
wing328
3086bb624f Merge pull request #1941 from jhancock93/projectfile2
CSharp client: optionally build .csproj file
2016-01-24 12:50:40 +08:00
John Hancock
9edbfd6918 Fix csproj to use framework 4.5 instead of 4.5.2 and fix project file option description 2016-01-23 22:59:48 -05:00
wing328
421b70c259 Update CONTRIBUTING.md 2016-01-23 23:20:26 +08:00
wing328
530726911b build status badge updated to svg 2016-01-23 23:06:10 +08:00
wing328
f0eb227fc7 add badges for PR and issue stats 2016-01-23 22:22:50 +08:00
Tony Tam
407c9121bf switched from paramName to baseName to avoid changing format 2016-01-22 20:54:15 -08:00
Tony Tam
ee8547f3b4 Merge pull request #1900 from hiveship/fix-java-warnings
fix java warnings
2016-01-22 20:36:11 -08:00
Ron
ced433f912 Merge pull request #1962 from vanillajonathan/patch-1
Syntax highlighting
2016-01-22 16:25:31 -08:00
Jonathan
acb62810a9 Syntax highlighting
Syntax highlighting
2016-01-23 01:22:16 +01:00
Tony Tam
51c66a270e Merge pull request #1958 from hjacobs/minor-python-flask-clean-up
Python Flask (Connexion) clean up
2016-01-22 14:05:45 -08:00