hrachya
c3055c7cc4
Adding Config and ConfigParser classes
2015-05-27 17:30:42 -07:00
hrachya
2cca1a8c2c
Changing templateDir back to explicit option for cli
2015-05-27 17:22:44 -07:00
hrachya
a9e767cbd8
Rolling back changes to deprecated class
2015-05-27 17:19:34 -07:00
Ron
1657f2e5f7
Merge pull request #801 from rlo2014/develop_2.0
...
Removing comment (// do some magic!) that is no longer necessary and …
2015-05-27 19:48:51 -04:00
rlo2014
e93a377982
Removing comment (// do some magic!) that is no longer necessary and confusing. After olensmar refactor of jax-rs codegen, magic/implementation should be placed in the delegate/implementation as opposed to the api itself. Any logic put in api itself will be overwritten with the next code gen, whereas the delegate implemenation will remain intact.
2015-05-27 14:55:28 -07:00
wing328
2c12312b97
update user agent and add more test cases
2015-05-27 22:44:56 +08:00
wing328
866b546cfd
make api client pluggable
2015-05-27 17:56:39 +08:00
hrachya
74f5c769f9
removing extra file, was committed by mistake
2015-05-26 17:10:19 -07:00
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
wing328
4d1d163a73
update php template to debug curl
2015-05-26 23:52:35 +08:00
wing328
171bf969c7
add debug switch to configuration
2015-05-26 23:20:34 +08:00
geekerzp
ca145297e9
Updated ApiClient of objc sdk.
...
When create api instance, if we don't pass the `apiClient` parameter,
then get api client instance from the pool.
2015-05-26 18:00:45 +08:00
wing328
c2c43bba37
make datetime nullable
2015-05-26 17:48:52 +08:00
xhh
951b7a9075
Do not use JSON as default Accept header when no produces present
2015-05-26 10:35:49 +08:00
wing328
f807e34b2b
refactor csharp (no compile error)
2015-05-25 18:21:17 +08:00
xhh
aa03be7f76
Clean up old code
2015-05-25 17:25:32 +08:00
xhh
ed14c515bf
Add comments to string utility methods
2015-05-25 16:01:57 +08:00
geekerzp
2d545c7f0b
updated ApiClient of python sdk.
...
Change staticmethod to instance method.
2015-05-25 15:29:31 +08:00
geekerzp
3beeb6125e
updated ApiClient of python sdk.
...
When create api instance, if we don't pass the `api_client` parameter,
then use the default api_client in `config` module.
2015-05-25 14:31:55 +08:00
xhh
19a8ac4841
Add unit tests
2015-05-25 12:32:24 +08:00
xhh
85d0e08a80
Rebuild Java Petstore client
2015-05-25 12:31:54 +08:00
xhh
fff8972a77
Extract utility methods to the StringUtil class
...
and ignore case when comparing Accept/Content-Type
2015-05-25 12:29:41 +08:00
wing328
92dd5cab93
add restsharp.dll, update compile.bat
2015-05-25 11:44:08 +08:00
xhh
141b580c8c
Minor improvement to Java API client accept and content-type header
2015-05-24 08:52:14 +08:00
Tony Tam
095771d345
Merge pull request #738 from tomtit/issue429
...
Fixes #429 : Handling of composed models has been added.
2015-05-23 15:10:38 -07:00
Alexey Nechaev
5d581c3b03
Fixes #429 : Handling of composed models has been added.
2015-05-24 00:54:25 +03:00
Tony Tam
087c28dae4
rebuilt client
2015-05-23 09:04:46 -07:00
Tony Tam
85c37fbe27
fix for #781
2015-05-23 09:04:40 -07:00
Tony Tam
ad9b790712
updated sample
2015-05-23 09:04:06 -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
e3c116312b
Merge pull request #773 from hyperworks/master
...
Adds isPrimitiveType flag to CodegenParameter.
2015-05-23 08:53:06 -07:00
Tony Tam
5527932a8e
Merge branch 'xhh-ruby-void-response' into develop_2.0
2015-05-23 08:52:15 -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
98d5dd727b
Merge branch 'tkQubo-feature/swift-PromiseKit' into develop_2.0
2015-05-23 08:48:28 -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
864f0f5a3a
Merge branch 'sosso-origin/develop_2.0' into develop_2.0
2015-05-23 08:34:01 -07:00
Tony Tam
d447c423b5
updated test to get expected value
2015-05-23 08:33:48 -07:00
Tony Tam
f9ed8a9a08
updated test to get expected value
2015-05-23 08:33:40 -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