Commit Graph

4470 Commits

Author SHA1 Message Date
evigeant
d0b99a0f83 Fixed options provider for all classes where cliOptions were added 2016-01-25 22:17:09 -05:00
evigeant
43807adf4f Added missing cliOptions for JaxRSServerCodegen 2016-01-25 21:48:54 -05:00
evigeant
faadccf371 Added missing cliOptions for the StaticHtmlGenerator and
StaticDocGenerator
2016-01-25 21:39:58 -05: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
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
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
Tony Tam
e89bac3421 partial fix for #1956 2016-01-22 13:59:07 -08:00
hjacobs
4e9d1e8c79 re-generate flaskConnexion sample server with latest changes 2016-01-22 22:35:37 +01:00
hjacobs
103321d872 fix code formatting of flaskConnexion app.py and use more intuitive run(port=..) 2016-01-22 22:34:49 +01:00
hjacobs
aecc367e35 fix flaskConnexion README template to use correct URLs (contextPath is "/v2" for pet store) 2016-01-22 22:33:32 +01:00
Dilip Krishnan
dd6204019a Updated the generated sample server 2016-01-22 15:32:41 -06:00
hjacobs
9ca83c0174 tweak FlaskConnexionCodegen help string 2016-01-22 22:32:37 +01:00
Dilip Krishnan
a33bff012c Updated the spring mvc server template to springfox 2.3.1 2016-01-22 15:31:27 -06:00
Tony Tam
4b9aa25d63 Merge pull request #1957 from hjacobs/bugfix/issue-1955-readme-fix-python-flask
#1955 fix command in README: flaskConnexion -> python-flask
2016-01-22 13:07:11 -08:00
hjacobs
3cd124603c #1955 fix command in README: flaskConnexion -> python-flask 2016-01-22 22:05:09 +01:00
wing328
d44aa82cc4 Merge pull request #1950 from akkie/master
Namespace is missing for SplFileObject reference
2016-01-22 21:43:09 +08:00
Christian Kaps
618351c11c Namespace is missing for SplFileObject reference 2016-01-22 12:17:58 +01:00
Maelig Nantel
4c7d471203 Merge remote-tracking branch 'refs/remotes/swagger-api/master' into fix-java-warnings
# Conflicts:

#	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavascriptClientCodegen.java
2016-01-22 11:32:08 +01:00
wing328
a550eec389 Merge pull request #1942 from xhh/javascript-fixes
[JavaScript] Fix initialization issues on array and nested model fields
2016-01-22 18:15:20 +08:00
wing328
5d3c8fb811 Merge pull request #1945 from wizardbyron/remove_wrong_tests
Remove useless tests
2016-01-22 18:00:02 +08:00
wing328
5b6d224612 Merge pull request #1747 from wing328/add_golang
[Go] Add Go API client generator
2016-01-22 17:42:30 +08:00
GU Yu (Byron)
cad64724a5 Remove useless tests 2016-01-22 17:39:25 +08:00
wing328
20e531d6dd update test case, add beta to go help 2016-01-22 17:27:30 +08:00
wing328
25b60a194b add sh script for go, add binary mapping for go, fix format 2016-01-22 17:21:51 +08:00
xhh
f1aeb36e6c Update JavaScript style guide's link to ES5 2016-01-22 12:02:01 +08:00
xhh
a607856406 JavaScript: fix model name in initialization and import
Closes #1935
2016-01-22 11:48:59 +08:00
John Hancock
277e7cfa8d Remove defaultValue from project guid cliOption because the guid is a random value 2016-01-21 22:47:53 -05:00
xhh
16e367bdc8 JavaScript: fix constructFromObject for Array fields
Closes #1721
2016-01-22 11:23:45 +08:00
wing328
03b463bc43 Merge pull request #1920 from Shyri/android-volley-library
Android volley library enhancement and tests
2016-01-22 10:52:26 +08:00
John Hancock
60c79d1cae Fix assembly references in project file generation 2016-01-21 21:16:09 -05:00
wing328
53abd8a8fb Merge pull request #1898 from xhh/java-binary-support
[Java okhttp-gson] Support "binary" (byte array) for body parameter and response
2016-01-22 00:03:14 +08:00
Maelig Nantel
87182124a9 Merge branch 'master' into fix-java-warnings 2016-01-21 11:23:11 +01:00
Maelig Nantel
94315a249d Merge branch 'java-support-uuid-generation' into fix-java-warnings 2016-01-21 11:21:22 +01:00
Maelig Nantel
687c2b1431 Merge remote-tracking branch 'refs/remotes/swagger-api/master' into fix-java-warnings
# Conflicts:

#	modules/swagger-codegen/src/main/java/io/swagger/codegen/DefaultCodegen.java
2016-01-21 11:17:32 +01:00
wing328
ae342a07cf remove var_dump 2016-01-21 11:13:16 +01:00
wing328
43731403a8 add test cases for findPetsByTags 2016-01-21 11:13:16 +01:00
xhh
1f072a697b Fix Ruby tests of the Petstore sample 2016-01-21 11:13:15 +01:00
xhh
dc32ac18b7 Fix tests of UserAPI 2016-01-21 11:13:14 +01:00