Tony Tam
29bd743391
Merge pull request #793 from geekerzp/develop_2.0_objc_apiclient
...
Make objc client more pluggable
2015-06-05 00:40:17 -07:00
Tony Tam
13e14652e3
Merge pull request #787 from geekerzp/develop_2.0_python_apiclient
...
[Python] Make API client more pluggable
2015-06-05 00:38:11 -07:00
Tony Tam
b41e88e83a
Merge pull request #785 from wing328/csharp_add_restsharp_dll
...
[C#] Added RestSharp.dll and updated compile.bat
2015-06-05 00:38:05 -07:00
Tony Tam
cbc4da58ab
Merge pull request #783 from xhh/ruby-auth
...
[Ruby] Add authentication support (API key, HTTP basic)
2015-06-05 00:36:12 -07:00
xhh
0ffe53933d
Bug fix: "null" was used as post body for empty form parameters
...
The form parameters could be empty when all of them are optional and no
values are assigned to them.
2015-06-03 21:17:42 +08:00
xhh
cf4b4de970
Skip null header/form parameters
...
and fix the bug of getting file name for file parameter
2015-06-03 20:26:14 +08:00
xhh
2e285ed562
Support skipping SSL certification verification
...
in Ruby clients by e.g.:
SwaggerClient::Swagger.configure do |config|
config.verify_ssl = false
end
2015-06-03 12:49:09 +08:00
xhh
9618960558
Merge branch 'develop_2.0' into ruby-auth
2015-06-03 11:19:40 +08:00
xhh
eb4973237b
Add comments to code
2015-06-03 10:09:36 +08:00
xhh
24c29acc09
Merge branch 'develop_2.0' into java-api-client
...
Conflicts:
modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/languages/JavaClientCodegen.java
2015-06-02 22:36:55 +08:00
Ole Lensmar
2662167372
Merge pull request #805 from hyeghiazaryan/develop_2.0
...
Support for file based config. Implementation for #616 .
2015-06-02 09:33:52 -04:00
xhh
19540ed7f0
Store response headers and body in ApiException
2015-06-02 15:33:44 +08:00
hrachya
3e0913a813
removing generic header comments
2015-06-01 10:43:23 -07:00
Oleg Godovykh
ec08d31031
add template for Retrofit and Gson
2015-05-29 12:23:18 -04:00
xhh
a8c526efd5
Add unit tests for Configuration and ApiClient
2015-05-29 12:08:42 +08:00
xhh
ac134c0afa
Make ApiClient more pluggable for Java
...
- Rename ApiInvoker to ApiClient
- Make ApiClient pluggable by allowing setting the ApiClient field of
API classes
- Introduce a Configuration class, containing the default
ApiClient (which is also customizable)
- Move basePath from API class to ApiClient
- Change static methods in ApiClient to instance level
2015-05-29 12:08:42 +08:00
xhh
a29c3abeb8
Use File.separatorChar in Ruby generator, add comments
2015-05-29 12:05:47 +08:00
xhh
623a1278cf
Add test case for API key auth
2015-05-29 11:57:46 +08:00
xhh
95813714a5
Add support of HTTP basic and API key auth to Ruby codegen
2015-05-29 11:57:46 +08:00
hrachya
ba7025d54b
Adding config-help command
2015-05-28 15:02:32 -07:00
hrachya
1f360961e0
Simplifying CliOption class
2015-05-28 14:55:36 -07:00
hrachya
08647b337f
fixing property name
2015-05-28 13:08:52 -07:00
hrachya
c5a7800ec6
fixing typo
2015-05-28 13:02:30 -07:00
hrachya
26a2290078
adding classPrefix, sourceFolder, projectName cli options to objc
2015-05-28 13:01:54 -07:00
wing328
61bc652229
use file separator
2015-05-28 14:34:39 +08:00
hrachya
c9c58cbe4c
new -c/--config option for swagger-cli to specify json config file path
...
setting options passed in config file if those were allowed by lang specific CodegenConfig
2015-05-27 17:37:07 -07:00
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
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
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
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
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
wing328
92dd5cab93
add restsharp.dll, update compile.bat
2015-05-25 11:44:08 +08: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