520 Commits

Author SHA1 Message Date
hrachya
1e09f5149e Add 'invokerPackage', 'groupId', 'arifactId', 'artifactVersion', 'sourceFolder' command line options for java (and all the derived ones jaxrs, spring-mvc ...)
Add processOpts override to process java  specific options
Move supporting file initialization from constructor to processOpts, since it uses some of the options that are not yet set in the constructor
Add setters
2015-05-26 17:05:53 -07:00
hrachya
e08a5a9d83 Add 'modelPackage' and 'apiPackage' as command line options
Add setters for modelPackage and apiPackage
2015-05-26 17:01:07 -07:00
hrachya
d7dec5a43d Use new functionality to add 't' as a command line option to set 'templateDir' 2015-05-26 16:02:27 -07:00
hrachya
33436d62c3 Get all cliOptions for available codegen configs and add to command line options
Add all the specified ones to clientOpts properties
2015-05-26 15:57:01 -07:00
hrachya
9f1504062a add List<CliOption> cliOptions() method to CodegenConfig interface with default implementation in DefaultCodegen 2015-05-26 15:52:25 -07:00
hrachya
f8cafaaee7 new CliOption class for wrapping org.apache.commons.cli.Option 2015-05-26 15:49:32 -07:00
Alexey Nechaev
5d581c3b03 Fixes #429: Handling of composed models has been added. 2015-05-24 00:54:25 +03:00
Tony Tam
85c37fbe27 fix for #781 2015-05-23 09:04:40 -07:00
Tony Tam
82436c5b44 Merge pull request #780 from geekerzp/develop_2.0_objc_contenttype
Minor improvement to Objc API Client 'accept' and 'content-type' header
2015-05-23 08:54:53 -07:00
Tony Tam
156afa7795 Merge pull request #778 from wing328/php_apiclient_instance
[PHP] Make API client more pluggable
2015-05-23 08:54:33 -07:00
Tony Tam
74dc05bbf5 Merge pull request #776 from wing328/php53_fix_warning
[PHP] Fix warning/error related to PHP5.3
2015-05-23 08:53:52 -07:00
Tony Tam
b6d206aff7 Merge pull request #774 from geekerzp/develop_2.0_python_contenttype
Minor improvement to Python API Client 'accept' and 'content-type' header
2015-05-23 08:53:34 -07:00
Tony Tam
3cb9d094d3 Merge branch 'ruby-void-response' of ssh://github.com/xhh/swagger-codegen into xhh-ruby-void-response 2015-05-23 08:49:28 -07:00
Tony Tam
d83a275b6e Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0 2015-05-23 08:48:40 -07:00
Tony Tam
565f054b79 merged 2015-05-23 08:48:18 -07:00
Tony Tam
f4aee62fb4 Merge pull request #775 from wing328/csharp_fix_object_type
[C#] Fix "object' type for response
2015-05-23 08:43:14 -07:00
Tony Tam
3638d79291 updated test to get expected value 2015-05-23 08:33:27 -07:00
geekerzp
2514f3aa08 update SWGApiClient.h of objc client. 2015-05-23 15:29:38 +08:00
geekerzp
3d3cbe115e minor improvement to objc client accept and content-type header 2015-05-23 15:22:12 +08:00
wing328
691838c47d add test case for api client instance 2015-05-23 10:35:19 +08:00
wing328
612abf134b api client as instance (not static class) 2015-05-22 22:09:51 +08:00
geekerzp
87a730b5a2 Merge branch 'develop_2.0' into develop_2.0_objc_contenttype
Conflicts:
	samples/client/petstore/objc/client/SWGPetApi.m
2015-05-22 17:32:57 +08:00
geekerzp
8d0efd812c updated unittests of python client 2015-05-22 15:50:09 +08:00
geekerzp
245ce642ce add test cases for ApiClient.select_header_accept and
ApiClient.select_header_content_type of python client.
2015-05-22 15:28:36 +08:00
wing328
df4b952312 fix object type without ref for CSharp 2015-05-22 14:12:53 +08:00
geekerzp
52807c0724 minor improvement to python client accept and content-type header 2015-05-22 10:45:38 +08:00
William Cheng
fa15f58506 fix warning/error in php5.3 2015-05-22 05:15:46 +08:00
Alexey Nechaev
a590239df9 Fixes #771: Unit test has been fixed after merge. 2015-05-21 10:49:20 +03:00
Tony Tam
0c3f7a54cd Merge pull request #770 from swagger-api/jaxrs-interface-generation
Jaxrs interface generation
2015-05-20 22:52:00 -07:00
Tony Tam
715a9b8678 merged 2015-05-20 22:50:41 -07:00
Tony Tam
4187be2dc3 Merge pull request #767 from geekerzp/develop_2.0_python_model
Pretty print for models of python client
2015-05-20 22:46:41 -07:00
Tony Tam
c8a56add5d merged 2015-05-20 22:45:52 -07:00
Tony Tam
01ebdb6122 Merge pull request #763 from tomtit/issue728
Fixed #728: Handling of recursive model definitions has been improved.
2015-05-20 22:42:37 -07:00
Tony Tam
e66f9d7fce Merge pull request #760 from geekerzp/develop_2.0_objc_required_parameter
Fix required parameter validation for Objc
2015-05-20 22:42:10 -07:00
Tony Tam
9bf9b3edb7 rebuilt 2015-05-20 22:41:09 -07:00
Tony Tam
515f5440a1 merged 2015-05-20 22:37:51 -07:00
Tony Tam
632480787d Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0 2015-05-20 22:35:23 -07:00
Tony Tam
8231e7e36a Merge branch 'develop_2.0_objc_iso8601' of ssh://github.com/geekerzp/swagger-codegen into geekerzp-develop_2.0_objc_iso8601 2015-05-20 22:29:26 -07:00
Tony Tam
ee145aebe7 Merge pull request #743 from lugaru1234/model_ids_with_dots
Fixed #593: Python code failure caused by Model IDs with dots has been fixed
2015-05-20 22:27:53 -07:00
Tony Tam
11dd7784f8 rebuilt 2015-05-20 22:20:51 -07:00
Tony Tam
6fe6a6daa7 Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0 2015-05-20 22:16:55 -07:00
Tony Tam
fd928a3d16 merged 2015-05-20 22:16:24 -07:00
Tony Tam
5a4d3317c2 Merge pull request #723 from swinz/develop_2.0_fixSpringMVCHeaderRequired
SpringMVC template is ignoring the required attribute in swagger definition when generating RequestHeader annotation
2015-05-20 22:14:29 -07:00
Tony Tam
ab23cccab4 Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0 2015-05-20 22:13:03 -07:00
Tony Tam
e58f8db9aa merged 2015-05-20 22:12:37 -07:00
Tony Tam
b059910a01 Merge pull request #700 from wing328/csharp_restcsharp
Use RestSharp for CSharp API client
2015-05-20 21:52:28 -07:00
Ole Lensmar
19de558f4a Merge branches 'develop_2.0' and 'jaxrs-interface-generation' of https://github.com/swagger-api/swagger-codegen into jaxrs-interface-generation
Conflicts:
	modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/DefaultCodegen.java
2015-05-20 22:51:49 -06:00
Tony Tam
0c1bdc0fd6 merged 2015-05-20 21:48:03 -07:00
Tony Tam
ff81789b37 merged 2015-05-20 21:41:17 -07:00
xhh
9cf4c66331 Update method returning value comment 2015-05-21 11:30:30 +08:00