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
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
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
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
xhh
43cfc7d401
Setup authentications in test cases
2015-05-22 12:07:08 +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
xhh
3d4b5a10c9
Add support of HTTP basic and API key auth to Java codegen
2015-05-21 22:05: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
Ole Lensmar
a6876b8028
Merge branches 'core-1.5.2-M2-compatibility' and 'jaxrs-interface-generation' of https://github.com/swagger-api/swagger-codegen into jaxrs-interface-generation
2015-05-20 18:14:54 -06:00
Ole Lensmar
713e7a6584
updated core dependency version to 1.5.2-M2 with related fixes
2015-05-20 18:06:37 -06:00
Ole Lensmar
778ce0b9f6
Merge branches 'develop_2.0' and 'jaxrs-interface-generation' of https://github.com/swagger-api/swagger-codegen into jaxrs-interface-generation
2015-05-20 17:03:51 -06:00
Ole Lensmar
17d8d14cc8
defaulted sources to go to src/gen/main and added possibility to set impl folder via system property at command-line
2015-05-20 16:49:50 -06:00
wing328
4f310cd7b1
update function comment
2015-05-20 22:13:24 +08:00
geekerzp
9ff0d90853
Updated python models.
...
Overwrite the instance method `__repr__`,
make the `pprint` method output properties infos of the models.
2015-05-20 22:05:34 +08:00
wing328
6e13403a37
fix http basic auth, add test cases for new api client without host
2015-05-20 21:55:16 +08:00
xhh
4702285184
Correct indentation
2015-05-20 21:08:14 +08:00
xhh
dde73d592d
Return nil in Ruby clients for operations that have no response type defined
2015-05-20 21:06:42 +08:00
wing328
9a1dedbe76
add test case (getPetbyId), remove old authenetication (only supports header)
2015-05-20 18:43:34 +08:00
wing328
20439e646f
add test case and prefix support
2015-05-20 18:25:35 +08:00
wing328
06c7a6a109
add todo for oauth, support multiple api key
2015-05-20 17:13:52 +08:00
wing328
278a653154
add authentication
2015-05-20 17:13:52 +08:00
geekerzp
3a8b149f09
minor improvement to objc api client accept and content-type header
2015-05-20 15:52:00 +08:00
kubo_takaichi
7205407818
Add another date formatter (which should be externalized though)
2015-05-20 11:27:45 +09:00
kubo_takaichi
2f6b975669
Remove final mark
2015-05-20 11:27:45 +09:00
kubo_takaichi
16a4b60526
Handle NSNull
2015-05-20 11:27:45 +09:00
kubo_takaichi
9cf1835230
Fix bug
2015-05-20 11:27:45 +09:00
kubo_takaichi
3623a0dd56
Modify Cartfile
2015-05-20 11:27:45 +09:00
kubo_takaichi
e0c0d2a72a
Remove dependency on SwiftyJSON
2015-05-20 11:27:45 +09:00
kubo_takaichi
dbfc46658f
Add once-removed Array extension method
2015-05-20 11:27:45 +09:00
kubo_takaichi
bb3ec04ed1
Introduce Decoders class
2015-05-20 11:27:45 +09:00
kubo_takaichi
be7fccce68
Update JSONEncodable implementations
2015-05-20 11:27:45 +09:00
kubo_takaichi
f21d8503d5
Add manager storage to prevent request cancellation
2015-05-20 11:27:45 +09:00
kubo_takaichi
063e6d062d
Introduce decodable array and dictionary
2015-05-20 11:27:45 +09:00
kubo_takaichi
0b7d758077
Add extension methods for primitives
2015-05-20 11:27:45 +09:00
kubo_takaichi
5dfa753f5c
Do refactor and add extension methods
2015-05-20 11:27:45 +09:00
kubo_takaichi
23d714f2f1
Add swift code generator
2015-05-20 11:27:45 +09:00
kubo_takaichi
f627c81399
Remove some characters from param name and operation id
...
(since swagger-doc emits improper characters)
2015-05-20 11:27:45 +09:00
xhh
0fb1918196
Revert unnecessary changes on whitespace
2015-05-20 10:13:29 +08:00
xhh
312f1c6f25
Avoid the importPath field
2015-05-20 09:23:45 +08:00
xhh
792059f195
Avoid warnings for ruby gem building
2015-05-20 09:23:45 +08:00
xhh
6eaaa5cc69
Include base_object model into module structure
2015-05-20 09:23:44 +08:00
xhh
fcf1327c1f
Rename swagger-client to swagger_client
...
according to guides from rubygems: http://guides.rubygems.org/name-your-gem/
2015-05-20 09:23:44 +08:00
xhh
104bcc1f89
Organize generated Ruby code into a module
2015-05-20 09:23:43 +08:00
Fake Bob Dobbs
a55c03013d
use the defaultValue for spring mvc RequestHeader annotations; carry over the required value if set for RequestPart annotations
2015-05-19 11:47:34 -04:00
Fake Bob Dobbs
b783363c56
move the defaultValues for Forms and Headers as well
2015-05-19 11:45:48 -04:00
Alexey Nechaev
f0e4ea1780
Fixed #728 : Handling of recursive model definitions has been improved.
2015-05-19 18:36:03 +03:00
Nadezhda Makarkina
3dde19bb59
Fixed #593 : Python code failure caused by Model IDs with dots has been fixed
2015-05-19 14:31:42 +03:00
geekerzp
a0abea4b72
added required parameters check for objc
2015-05-19 17:12:46 +08:00
wing328
5744bd0138
better exception using InvalidArgumentException
2015-05-19 16:21:06 +08:00
wing328
af260cba41
update api client to support default header
2015-05-19 15:33:03 +08:00
geekerzp
a77ae51318
update python tests
2015-05-19 15:21:09 +08:00
wing328
41e178e268
better accept and content-type for php, added test cases
2015-05-18 22:16:54 +08:00
Tony Tam
e068ad4494
Merge pull request #756 from wing328/perl_improve_accept_header
...
[Perl] better logic for accept and content-type, added test cases
2015-05-18 06:36:11 -07:00
wing328
7fc2f74851
remove commented code
2015-05-18 16:39:33 +08:00
wing328
abbea5ec4c
better logic for accept and content-type, added test cases
2015-05-18 16:23:46 +08:00
William Cheng
05ac516ffa
clean up ruby sample, remove commented code, bug fix
2015-05-18 04:30:26 +08:00
William Cheng
3de9b4bfc8
remove (duplicated) object_to_http_body and object_to_hash from swagger.rb
2015-05-17 23:47:55 +08:00
William Cheng
92a2011207
fix post model, update rspec
2015-05-17 23:38:51 +08:00
William Cheng
8710fbfde7
add base object
2015-05-17 23:36:13 +08:00
Tony Tam
0e0e265a2a
Merge pull request #746 from wing328/ruby_fix_contenttype
...
Minor improvement to Ruby API Client 'accept' and 'content-type' header
2015-05-16 09:13:58 -07:00
Tony Tam
d6ac7c5ecf
Merge pull request #659 from wing328/add_php_unit_test
...
Bug fix for PHP client POST (model) and add more PHP test cases
2015-05-16 09:13:35 -07:00
Tony Tam
8501ffe240
Merge pull request #716 from ponelat/fix/click-on-return-type-in-dynamic-html
...
Fix/click on return type in dynamic html
2015-05-16 09:11:26 -07:00
Tony Tam
919bab0765
Merge pull request #717 from ponelat/fix/dyn-html-pos-error
...
Fix dynamic-html positioning of parameters
2015-05-16 08:56:51 -07:00
Ron
3e719d087f
Merge pull request #715 from ponelat/fix/dead-css-include
...
html: build and remove dead css include
2015-05-16 17:23:49 +02:00
geekerzp
68b0259c47
updated readme.md of python
2015-05-16 18:05:06 +08:00
Tony Tam
6ec7cf5a9d
updated request process
2015-05-16 01:09:01 -07:00
Tony Tam
f4cbd88e2c
fixed ordering
2015-05-16 00:45:42 -07:00
Fake Bob Dobbs
e4f5243e54
add defaultValues value to the SpringMVC RequestParam annotation
2015-05-15 17:17:46 -04:00
Fake Bob Dobbs
33138c139f
A parameter's default value is not flowing from the swagger definition to the actual API implementation. This change makes the property from the swagger def json available to the templates.
2015-05-15 16:55:49 -04:00
Tony Tam
a2d2deeb0c
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-05-15 11:27:16 -07:00
Tony Tam
b4674d6fc5
template updates, tests
2015-05-15 11:27:03 -07:00
wing328
1f6a19b684
minor improvement to ruby api client accept and content-type header
2015-05-15 20:58:59 +08:00
geekerzp
c06cb38d64
updated objc client to support iso8601 datetime format
2015-05-15 17:49:56 +08:00
Josh Ponelat
3bc319d534
dynamic-html: refactor parameters view
2015-05-15 09:28:57 +02:00
Josh Ponelat
30496ffdc3
html: remove dead css line
2015-05-15 09:22:40 +02:00
Josh Ponelat
3544136ab1
dynamic-html: make sure clicking on return type works
2015-05-15 09:21:54 +02:00
geekerzp
6826a1d7df
updated readme.mustache in python client
2015-05-15 14:51:51 +08:00
geekerzp
d798b943f5
added python 2.7 and python 3.4 test environments
2015-05-15 14:38:06 +08:00
Tony Tam
0248d6fd9f
Merge pull request #677 from wing328/fix_swagger_type2
...
Fix PHP swagger type
2015-05-14 11:50:57 -04:00
Tony Tam
bc66894553
Merge pull request #688 from xhh/scala-form-params
...
Add form parameters support to Scala codegen
2015-05-14 11:50:42 -04:00
wing328
c12673a407
fix error handling for 4xx, 5xx returned by server
2015-05-14 14:16:12 +08:00
geekerzp
86e48ceef8
refactor python client using urllib3
2015-05-14 10:45:05 +08:00
Ole Lensmar
adcd0f4bb8
changed interface to abstract class instead so we can use Override annotation to warn if we get dead methods when the definitions changes
2015-05-13 15:58:20 -07:00
Ole Lensmar
75b39e812e
refactored to create separate serviceinterface, implementation and corresponding factory. JaxRs class uses the factory to find the implementation. Also fixed possibility for a code generator to control which API files that should be overwritten
2015-05-12 13:18:35 -04:00
Tony Tam
622d883344
fixed input type
2015-05-12 06:57:37 -04:00
Tony Tam
8519480f2c
removed some cruft
2015-05-12 06:50:45 -04:00
Tony Tam
1912973d36
enabled qt5
2015-05-12 06:04:23 -04:00
Tony Tam
e703fc7982
fixed version
2015-05-12 06:03:37 -04:00
Tony Tam
5a1fa6ee65
added qt5 c++ templates
2015-05-12 05:56:12 -04:00
Tony Tam
d6016757cb
Merge pull request #705 from wing328/fix_required_parameter
...
Fix required parameter validation for Java, Android, PHP and Ruby
2015-05-12 05:48:22 -04:00
Tony Tam
e33fbc67ad
Merge pull request #648 from geekerzp/develop_2.0_objc_naming
...
Updated naming convention in objc client.
2015-05-12 05:47:51 -04:00
Tony Tam
f80238ae2d
Merge pull request #737 from wing328/perl_codegen
...
Add templates for Perl
2015-05-12 05:47:25 -04:00
wing328
2f5f2b367b
update package name to confirm to csharp convention, fix default header
2015-05-12 12:45:59 +08:00
Alexey Nechaev
66dea18b61
Reverted JsonUtil.mustache after PR #726 .
2015-05-08 12:47:35 +00:00
William Cheng
fc43828c20
update type mapping, update test.pl to use local file for testing upload
2015-05-08 03:58:02 +08:00
William Cheng
063a1ffd36
update type list in deserialize
2015-05-08 03:58:02 +08:00
William Cheng
1d4735f76d
update subroutine argument
2015-05-08 03:58:01 +08:00
William Cheng
c03250132d
update error message, update test script
2015-05-08 03:58:01 +08:00
William Cheng
48844442fc
test post body (model), fix to_hash attribute mapping
2015-05-08 03:58:01 +08:00
William Cheng
f69fb40c71
add methods for static variable
2015-05-08 03:58:01 +08:00
William Cheng
0a34793f5a
add inheritance to object (model)
2015-05-08 03:58:00 +08:00
William Cheng
07cd23edac
seralization and deserialization work, get_pet_by_id and
...
update_pet_with_form work
2015-05-08 03:58:00 +08:00
William Cheng
a7ef1262e5
fix all swagger.pl syntax issue
2015-05-08 03:58:00 +08:00
William Cheng
d206035e0f
add perl support - api template, bin, codegen
2015-05-08 03:57:59 +08:00
russellb337
2eeb96116d
simplifying diff
2015-05-07 12:16:44 -07:00
russellb337
2edfb96c36
swagger codegen should honor global mime types
2015-05-07 12:02:25 -07:00
Tony Tam
c7e22b7a3b
Merge pull request #726 from who/feature/gson-for-android-client
...
Feature: Use gson for android-client instead of jackson
2015-05-07 06:26:37 -07:00
Andrew B
20ced771ba
Restoring the pom.xml so integration tests work
2015-05-07 01:09:25 -07:00
Andrew B
01b7385a5e
Implementing gson in android client templates
2015-05-06 22:54:25 -07:00
wing328
070a6203e0
remove php comment
2015-05-07 13:35:19 +08:00
who
902c56f09b
Initial commit of jackson-to-gson
2015-05-06 17:46:54 -07:00
Tony Tam
157da246c0
added async test sample
2015-05-06 12:56:45 -07:00
Fake Bob Dobbs
321dfb7311
For SpringMVC, RequestHeader annotations are not setting the required attribute, even when required is false (RequestHeader uses default of true). This change always sets the required param
2015-05-06 09:05:57 -04:00
Tony Tam
65097a4908
Merge pull request #680 from geekerzp/develop_2.0_python_testing
...
Bug fix for deserialize model issue and added unit tests for python client
2015-05-04 21:11:35 -07:00
Anthony Sosso
f7d30c847f
Java: support x-www-form-urlencoded for PUT, POST, DELETE
2015-05-01 15:25:54 -07:00
who
6be2c06ed3
Adding maven publish functionality for android client
2015-04-30 10:34:43 -07:00
wing328
47a8ef3031
fix required parameters in ruby
2015-04-30 17:01:36 +08:00
wing328
93e4ef0eec
fix required parameters check for php
2015-04-30 16:52:33 +08:00
wing328
303378c5eb
fix android required parameter check
2015-04-30 16:29:21 +08:00
Andrew B
5082f69631
Adding maven publish functionality for android client
2015-04-29 22:08:27 -07:00
Tony Tam
4725dfb121
Merge pull request #702 from 0legg/feature/android-gradle
...
Jar and aar support for Android
2015-04-29 17:50:09 -07:00
Oleg Godovykh
14c2d14fc2
provide both jar and aar
2015-04-29 14:18:44 -04:00
Oleg Godovykh
119a981701
add possibility to create aar library
2015-04-29 13:39:00 -04:00
wing328
fb3088b765
fixed required parameter in java api
2015-04-29 17:31:38 +08:00
wing328
e7b170bf3c
better comment on csharp api, add ParameterToString to handle date
2015-04-29 16:27:08 +08:00
wing328
96d837274e
udpate csharp template with better comment and ParameterToString
2015-04-29 11:00:05 +08:00
wing328
8818c209df
udpate csharp client with restsharp
2015-04-29 10:56:24 +08:00
wing328
5c057e1306
refactor csharp client using restsharp, getpetbyid working
2015-04-29 10:55:49 +08:00
Tony Tam
6c23a21312
Merge pull request #675 from marcinkiewiczblazej/issue-674
...
Fix for issue #674
2015-04-28 15:21:51 -07:00
Oleg Godovykh
b6495a9fc2
replace maven settings for Android client with gradle
2015-04-28 17:49:59 -04:00
Tony Tam
8952759eda
Merge pull request #693 from lugaru1234/multiple_tags_operations
...
Generation of operations with multiple tags has been fixed #356
2015-04-28 07:03:23 -07:00
Tony Tam
c96f5f6fa8
added excludes for logback.xml per https://github.com/swagger-api/swagger-codegen/issues/689
2015-04-27 22:51:52 -07:00
Nadezhda Makarkina
b0d2d1116b
Generation of operations with multiple tags has been fixed #356
2015-04-27 13:25:08 +03:00
xhh
4a55223a8f
Add form parameters support to Scala codegen
2015-04-24 23:57:17 +08:00
geekerzp
3aa9982b23
Fixed issue that it will throw error when deserialize model in python client.
2015-04-23 18:19:08 +08:00
Alexey Nechaev
9a36174685
Clean up of '\n' escaping.
2015-04-23 11:50:07 +03:00
wing328
d5a3cc7300
fix php swagger type
2015-04-23 00:42:36 +08:00
Alexey Nechaev
fc0be6d503
Fixes #646 : Example field handling has been fixed.
2015-04-22 16:17:28 +03:00
Alexey Nechaev
699973dcfe
Group and version are avaiable from parent pom.
2015-04-22 16:11:16 +03:00
Blazej Marcinkiewicz
465266e219
Updated Java Spring MVC query param generation to include 'required' parameter if it's available.
2015-04-22 11:52:46 +02:00
wing328
eed04560c0
fix string?
2015-04-21 23:16:17 +08:00
William Cheng
2c0e8f6079
fix csharp model name issue
2015-04-21 22:42:13 +08:00
geekerzp
4dd793c0ac
Updated naming convention in objc client.
2015-04-21 16:23:08 +08:00
Tony Tam
7f4916f333
Merge pull request #664 from geekerzp/develop_2.0_python_content_type
...
Fixed encoding issue for request json body in python client.
2015-04-20 21:46:06 -07:00
geekerzp
d053d464dd
Fixed encoding issue for request json body in python client.
2015-04-20 18:05:16 +08:00
William Cheng
5465708a42
add method documentation to android and scala
2015-04-19 23:51:46 +08:00
William Cheng
3622cfd169
add method documentation for objc client
2015-04-19 23:41:26 +08:00
William Cheng
ae389a8993
update python method documentation
2015-04-19 23:23:09 +08:00
wing328
7e37f3294a
bug fix for post (model) and update php test cases
2015-04-17 20:01:58 +08:00
wing328
8512259d02
update method name based on style guide, update petstore sample
2015-04-17 00:26:06 +08:00
xhh
de21088619
Support optional body parameter
2015-04-16 18:20:36 +08:00
xhh
61bf7f49cc
Remove redundant blank lines
2015-04-16 15:56:08 +08:00
xhh
a819e4d523
Support optional parameters in Ruby client
...
* Pass optional parameters via the `opts` Hash
* Handle query parameters in a way similar to header/form parameters to
support parameter name normalization, e.g. the "additional_metadata"
key is passed for "additionalMetadata"
* Rename variables to be consistent: `query_params`, `header_params` and
`form_params`
* Remove unnecessary blank lines
2015-04-16 15:56:08 +08:00
Tony Tam
a03574e119
Merge pull request #631 from xhh/ruby-config
...
Fix hard-coded values in Ruby client: scheme, host and base_path
2015-04-15 22:54:46 -07:00
Tony Tam
19d7dad33c
Merge pull request #618 from wing328/python3_codegen
...
Added back python 3 codegen
2015-04-15 22:53:15 -07:00
Tony Tam
a168c4bf06
Merge branch 'develop_2.0_objc_optional_property' of https://github.com/geekerzp/swagger-codegen into geekerzp-develop_2.0_objc_optional_property
2015-04-15 22:12:01 -07:00
Tony Tam
a465edd890
Merge pull request #645 from who/develop_2.0
...
[PHP Templates] Fixing a bug which was preventing payloads to serialize into JSON
2015-04-15 16:51:24 -07:00
who
164a01ed12
Fixing a bug which was preventing payloads to serialize into JSON
2015-04-15 16:17:21 -07:00
Tony Tam
39602c4b2b
Merge pull request #644 from hyeghiazaryan/develop_2.0
...
Adding defaultHeaders dictionary to generated API classes.
2015-04-15 14:24:20 -07:00
hrachya
33dfcd247d
Adding defaultHeaders dictionary to generated API classes. defaultHeaders will be merged with headerParams before sending the request.
...
fix for https://github.com/swagger-api/swagger-codegen/issues/638
2015-04-15 13:02:09 -07:00
Tony Tam
1617b76e27
Merge pull request #637 from hyeghiazaryan/develop_2.0
...
Adding import for Foundation.h to SWGQueryParamCollection.h
2015-04-15 10:08:21 -07:00
geekerzp
0a9df88e53
Using propertyIsOptional
to implement optional property instead of
...
using `Optional` protocol in objc client.
2015-04-15 17:53:45 +08:00
hrachya
21fcbc7acb
Adding import for Foundation.h to SWGQueryParamCollection.h
...
fix for https://github.com/swagger-api/swagger-codegen/issues/636
2015-04-14 13:20:38 -07:00
Tony Tam
dfa17d2291
Merge pull request #630 from who/develop_2.0
...
Making default PHP namespace generic and fix issues 628 and 635
2015-04-14 12:35:44 -07:00
who
f4a2eff4b7
Fixing nested model deserialization - Issue #635
2015-04-14 12:24:59 -07:00
hrachya
ff71a2cc60
Adding toParamName override to ObjcClientCodegen.java
...
fix for https://github.com/swagger-api/swagger-codegen/issues/633
2015-04-14 11:23:09 -07:00
xhh
41371bd901
Initialize a default configuration object
2015-04-14 15:03:21 +08:00
xhh
7db7b146be
Fix hard-coded values in Ruby client: scheme, host and base_path
2015-04-14 12:32:25 +08:00
who
de25d63838
Making the default PHP package name more generic instead of being specific to Petstore
2015-04-13 16:27:30 -07:00
who
42829ffb13
A proposed fix for Issue #628
2015-04-13 13:14:10 -07:00
who
41db8798af
correct usage of strpos
2015-04-13 12:22:38 -07:00
Tony Tam
33bd614a42
Merge pull request #625 from geekerzp/develop_2.0_python_form_params
...
Fixed request content-type in python client
2015-04-13 10:26:17 -07:00
geekerzp
10a9d298d7
Fixed request content-type in objc client.
...
In api.mustache the name of content-type is `Content-Type`,
but in swagger.mustache the name of content-type is `Content-type`.
2015-04-13 17:30:43 +08:00
William Cheng
13d513f02b
fix double in php client response
2015-04-12 23:06:07 +08:00
Tony Tam
7f84deaf30
Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0
2015-04-10 23:07:27 -07:00
Tony Tam
765a5c6aa1
added uniqueness for nickname, #612
2015-04-10 23:07:00 -07:00
Tony Tam
252cb18aeb
Merge pull request #619 from geekerzp/develop_2.0_python_package
...
Update Python codegen to support packaging via Setuptools
2015-04-10 21:03:08 -07:00
geekerzp
63ca000482
fixed request content-type to multipart/form-data
when upload file is null
2015-04-11 11:46:55 +08:00
geekerzp
e6bf58a707
package python sdk using setuptools
2015-04-11 10:38:32 +08:00
William Cheng
ccc0653923
add python 3 codegen
2015-04-10 19:42:09 +08:00
Tony Tam
70c14092f9
Merge pull request #610 from xhh/ruby-gemspec
...
Generate Ruby gemspec
2015-04-09 07:37:26 -06:00
wing328
22f72e2b23
update comment for escapeString
2015-04-09 16:05:13 +08:00
wing328
5cbe5d60aa
add iso8601 support to csharp, add more comments, add PATCH support
2015-04-09 15:55:13 +08:00
xhh
02fa04aec8
Generate gemspec for Ruby client
2015-04-09 11:34:09 +08:00
geekerzp
3259a1d814
Fixed module name in __init__.py in python client.
2015-04-09 10:37:15 +08:00
geekerzp
806c26d54f
Merge branch 'develop_2.0' into develop_2.0_python_better_import
...
Conflicts:
modules/swagger-codegen/src/main/java/com/wordnik/swagger/codegen/languages/PythonClientCodegen.java
2015-04-09 09:31:50 +08:00
geekerzp
f2ecc271b5
Better import for python client.
2015-04-09 09:21:21 +08:00
Tony Tam
a05251da51
Merge pull request #601 from geekerzp/develop_2.0_python_unicode
...
Support unicode string in python client.
2015-04-08 06:56:19 -06:00
Tony Tam
555ef7677d
Merge pull request #600 from wing328/python_variable_naming
...
Fixed parameter name, better naming convention for python client
2015-04-08 05:04:02 -06:00
Tony Tam
eb2ec92b66
Merge pull request #604 from wing328/php_fix_warning
...
Fixed PHP5.3 warning
2015-04-08 05:01:54 -06:00
Tony Tam
e1a3540caf
fixed version
2015-04-08 05:00:10 -06:00
Tony Tam
c1d51266b3
fixed version
2015-04-08 04:51:54 -06:00
William Cheng
eb0fccd1d2
fixed content-type check for model
2015-04-08 11:54:57 +08:00
William Cheng
cb2f5d3e25
fix php warning in php5.3
2015-04-08 11:33:09 +08:00
geekerzp
24d5dc093f
Support unicode string in python client.
2015-04-07 15:33:05 +08:00
William Cheng
49ad6f47a5
fix parameter name, better naming convention for python client
2015-04-07 01:37:32 +08:00
Tony Tam
c04f947a85
prepare for release
2015-04-06 08:00:16 -06:00
Tony Tam
d55aaffc48
Merge pull request #597 from wing328/php_package
...
Updated PHP codegen to support packaging via Composer
2015-04-06 07:44:00 -06:00