Commit Graph

1678 Commits

Author SHA1 Message Date
wing328
8285dea113 Merge pull request #2008 from wing328/license_template
[Ruby] add API info as file header to ruby templates
2016-02-04 14:49:57 +08:00
wing328
2de3e2e88c Merge pull request #2024 from jimschubert/csharp_webapi_aspnet5_server
[aspnet] Initial implementation of ASP.NET 5 server
2016-02-04 12:08:43 +08:00
Jim Schubert
0da1057416 [aspnet] Regenerated models to reflect partial class change 2016-02-03 13:14:26 -05:00
wing328
cd0c8728b7 Merge pull request #2019 from ergon/feature/use-retrofit-beta3
Use retrofit2-beta3 and it's dendencies in retrofit2 clients
2016-02-03 17:49:12 +08:00
Jim Schubert
455ba9d839 [aspnet] Initial implementation of ASP.NET 5 server
Things to work on:

Gaps:

* Missing swagger definition functionality:
  - defaultResponse
  - examples
  - auth
  - consumes
  - produces
  - nickname
  - externalDocs
  - imports
  - security
  - schema
* Resolve allParams/hasMore issue with headerParams
* Create functional test project stub
* Resolve all issues with value type return values

In this commit:

* Initial cross-platform ASP.NET 5 API server
* Hook up swagger gen via Swashbuckle and xml comment
* Build script (*nix) in project root
* Dockerfile for container deployment
2016-02-02 22:28:27 -05:00
wing328
974b8a6ee8 Merge pull request #2020 from wing328/csharp_partial_model
[C#] add partial to C# model
2016-02-02 23:32:11 +08:00
wing328
295cf0b2a1 add partial class to C# model 2016-02-02 22:45:57 +08:00
Silvio Heuberger
671dba4284 Use retrofit2-beta3 and it's dendencies in retrofit2 clients
Requires some changes to the generated client code
as some package renaming and api changes have occurred.
2016-02-02 15:43:08 +01:00
wing328
743a533c65 minor fix to template location for haskell 2016-02-02 22:37:01 +08:00
wing328
f77a8672fc Merge pull request #2011 from nickcmaynard/defaultvalue
Only define @DefaultValue if it's specified in the swagger spec
2016-02-02 22:21:48 +08:00
wing328
b2d98acb21 Merge pull request #2007 from wing328/csharp_readme
[C#] Add unit tests for C# APIs and models
2016-02-02 12:43:44 +08:00
wing328
53e74a0bd3 Merge pull request #2006 from wing328/qt5_file_support
[Qt5 C++] Fix file support in form parameter
2016-02-01 15:29:49 +08:00
wing328
70cce7411b Merge pull request #2009 from algas/support-haskell
Code generator for haskell-servant framework
2016-02-01 13:41:51 +08:00
Masahiro Yamauchi
30e8154055 Update dependencies and repository info 2016-02-01 08:59:50 +09:00
Masahiro Yamauchi
2ad3171674 Rename 2016-02-01 08:56:15 +09:00
Nick Maynard
943c66a975 Update samples for DefaultValue 2016-01-31 21:12:16 +00:00
wing328
0e0508cf5a Merge pull request #1998 from WoodWing/master
Support file downloading in Java jersey2 client
2016-01-31 19:57:55 +08:00
Masahiro Yamauchi
4e3d94c005 Code generator for haskell-servant framework 2016-01-31 20:20:19 +09:00
wing328
5a53814346 add api info as file header to ruby templates 2016-01-31 17:08:47 +08:00
wing328
047abc63a4 add test case for c# method 2016-01-31 12:49:32 +08:00
wing328
4ce255dc38 add unit test files for C# 2016-01-31 01:52:41 +08:00
wing328
587615b656 update c# readme with command to generate DLL 2016-01-30 23:06:45 +08:00
wing328
d5aa285926 fix file support in form parameter (qt5cpp) 2016-01-30 15:31:08 +08:00
Helge Rausch
f85f885191 Don't force explicit configuration of CA cert location
In order to allow openssl to figure out the location of CA certificates
on its own, don't apply the `ssl_ca_cert` configuration parameter if it
is not explicitly set.
2016-01-29 12:18:27 +01:00
xhh
172da5b2d8 Merge branch 'master' into ruby-binary
Conflicts:
	samples/client/petstore/ruby/lib/petstore/api/pet_api.rb
2016-01-29 12:02:30 +08:00
Maarten Groot
eee441b72a Update Petstore Java jersey2 sample 2016-01-28 16:35:11 +01:00
wing328
564fa04f7c Merge pull request #1988 from wing328/maven_build_quiet3
Rebase on latest master for "Using logger instead of System.out #1871"
2016-01-28 11:52:35 +08:00
wing328
f8b82e14fe use logger.info to display command line result 2016-01-28 11:25:11 +08:00
wing328
bfd17e45fe Merge pull request #1980 from wing328/ruby_add_test
[Ruby] add auto-generated test cases (rspec)
2016-01-27 15:28:56 +08:00
xhh
29885ab2ae Lock version for superagent to 1.7.1
to avoid an unexpected behavior on request.header in 1.7.2:
Node version's request.header uses lower-case keys while browser
version's request.header keeps current case.

See also visionmedia/superagent#873
2016-01-27 12:06:22 +08:00
wing328
72d7acc06f Merge pull request #1979 from wing328/ts_property_double_quote
[TypeScript] double quote model property name
2016-01-27 10:37:20 +08:00
wing328
e4a991da0c add auto-generated test case for ruby 2016-01-26 23:15:02 +08:00
wing328
535cc1dfa7 double quote model property in ts 2016-01-26 18:08:50 +08: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
17f8931887 add default help text for new ts option 2016-01-26 15:02:26 +08:00
wing328
218ea50d61 update ts samples 2016-01-26 15:00:41 +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
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
042dd59a38 Add sample client usage for retrofit2 with rx adapter and java 8 2016-01-25 10:29:13 +01:00
xhh
297597a86c Merge branch 'master' into ruby-binary 2016-01-25 12:48:25 +08:00
xhh
8c19626095 Handle "binary" as String in Ruby client
as it seems weird to handle byte array (array of integer) in Ruby
2016-01-25 12:47:59 +08:00
Jim Schubert
b4eed0d147 Merge branch 'master' into csharp_List_to_ICollection 2016-01-24 23:00:56 -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
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
hjacobs
4e9d1e8c79 re-generate flaskConnexion sample server with latest changes 2016-01-22 22:35:37 +01:00
Dilip Krishnan
dd6204019a Updated the generated sample server 2016-01-22 15:32:41 -06:00