Commit Graph

1218 Commits

Author SHA1 Message Date
xhh
7813976d9b Minor changes 2015-11-04 10:26:14 +08:00
xhh
18abc56688 Add tests for array and map property deserialization 2015-11-04 10:23:21 +08:00
xhh
abe44df1ec Ruby: support map/hash in model deserialization with additionalProperties
For example, the "scoreMap" and "cateMap" properties below:

  "definitions": {
    "User": {
      "properties": {
        "scoreMap": {
          "type": "object",
          "additionalProperties": {
            "type": "integer",
            "format": "int32",
          }
        },
        "cateMap": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/Category"
          }
        }
      }
    }
  }
2015-11-03 16:39:54 +08:00
wing328
86efdc5b54 Merge pull request #1485 from xhh/ruby-oauth
Add oauth support for Ruby client
2015-11-03 09:13:53 +08:00
cbornet
8b0bf8ff72 add a listener on new token reception
Add a listener on new token reception that can then be stored or logged for debug
Add an helper method to add authorizations (otherwise if the swagger def is not complete or correct, it is hard to configure from the main app)
2015-11-02 19:20:24 +01:00
wing328
9f7427b1cf Merge pull request #1489 from dvz5/master
Fix array query param processing
2015-11-02 21:36:25 +08:00
Dave Baird
3559a8bd09 Fix array query param processing
A couple of PHP functions that don't exist in Perl were being called to
process array query parameters.
2015-11-02 10:47:46 +01:00
xhh
1c3dc28c67 Add oauth support for Ruby client 2015-11-02 12:50:23 +08:00
dvz5
08f424824c Update 02_store_api.t 2015-11-01 23:14:22 +01:00
dvz5
2e03ecc4b8 Update 01_pet_api.t
Add tests for photoUrls, to check correct mapping from object attribute name to JSON attribute name.
2015-11-01 23:10:20 +01:00
wing328
7bc523324d Merge pull request #1446 from wing328/php_improvement1
[PHP] add OAuth support
2015-10-31 22:46:52 +08:00
xhh
953edc940f Java jersey2: use a shared Client instance 2015-10-29 09:40:07 +08:00
wing328
6c12e5ac8b update php sample 2015-10-28 21:45:22 +08:00
wing328
67815ed5f2 add oauth support for php 2015-10-28 21:44:12 +08:00
wing328
55d69d80bc update c# sample code 2015-10-28 15:33:56 +08:00
Arne Jørgensen
47b2ae934b Regenerated PHP petstore sample. 2015-10-27 22:58:25 +01:00
wing328
cf59b5dc7e Merge pull request #1444 from xhh/retrofit-syntex-error
Fix syntax error on authMethods in java retrofit client
2015-10-27 13:56:53 +08:00
xhh
95113dbe22 Fix syntax error on authMethods in java retrofit client 2015-10-27 10:45:23 +08:00
wing328
cc7105b5d8 fix jarxs path with basepath 2015-10-26 18:00:15 +08:00
Tony Tam
6b7ceab081 updated to dev version 2015-10-25 20:59:52 -07:00
xhh
dcec2e7b5d Forgot to use _to_hash for non-array value 2015-10-23 18:03:38 +08:00
xhh
940e76f45f Ruby client: include empty arrays in model serialization 2015-10-23 17:08:12 +08:00
Ampem Darko
57e3ea3e9c Ensure parameters to "each" is a hash in TO_JSON and from_hash 2015-10-21 13:35:48 +00:00
xhh
214e0186e8 Ignore null fields in model serialization
in Java clients.

Closes #1413
2015-10-21 12:05:27 +08:00
Tony Tam
7f5cdba606 rebuilt 2015-10-20 11:42:40 -07:00
Tony Tam
295af57c9a fixed build error 2015-10-20 11:31:21 -07:00
Tony Tam
bade71c6ba merged 2015-10-20 10:59:20 -07:00
Tony Tam
10a9c62e2b merged 2015-10-20 10:57:36 -07:00
Tony Tam
a6bd0773f7 added files 2015-10-20 10:56:18 -07:00
Tony Tam
b2506ab598 rebuilt 2015-10-20 10:32:19 -07:00
Tony Tam
a21f08118e rebuilt 2015-10-20 10:31:42 -07:00
Tony Tam
96380bbc83 rebuilt 2015-10-20 10:31:17 -07:00
Tony Tam
abe4980449 rebuilt 2015-10-20 10:30:19 -07:00
Tony Tam
e3151c57a0 rebuilt 2015-10-20 10:29:48 -07:00
Tony Tam
d2dc333699 rebuilt 2015-10-20 10:29:25 -07:00
Tony Tam
b41a40f9be rebuilt 2015-10-20 10:28:49 -07:00
Tony Tam
2f3a2413c7 rebuilt 2015-10-20 08:49:26 -07:00
Tony Tam
539496d735 rebuilt 2015-10-20 07:10:05 -07:00
Tony Tam
5e69d929a0 rebuilt 2015-10-19 23:13:27 -07:00
Tony Tam
e1ee7065d5 rebuilt client 2015-10-19 23:12:02 -07:00
Nick Bruno
b83db8e535 Merge remote-tracking branch 'upstream/master' into add-auth-annotations-jaxrs 2015-10-18 17:19:44 -04:00
Nick Bruno
7bbb883a00 Generate JAXRS and SpringMVC samples to demo Authorization annotations 2015-10-16 21:25:54 -04:00
wing328
90eab19305 Merge pull request #1401 from xhh/ruby-base-url-slashes
Ruby client: remove trailing slashes from base_url
2015-10-16 19:32:13 +08:00
cbornet
3debd08a32 remove useless import 2015-10-16 12:47:25 +02:00
cbornet
92d1e8a1d9 use StringUtil to format csv 2015-10-16 12:21:45 +02:00
cbornet
71c5160739 add colllectionFormat support to retrofit
Fix #1364
2015-10-16 12:21:45 +02:00
xhh
e0dfc1b43d Ruby client: remove trailing slashes from base_url
Closes #1399
2015-10-16 12:02:30 +08:00
xhh
a1fa0b0834 Rebuild Petstore samples 2015-10-16 10:47:00 +08:00
xhh
a94384ca7f Merge branch 'master' into java-util-model-package 2015-10-15 10:38:19 +08:00
wing328
583493f5ca Merge pull request #1377 from cbornet/java_gradle_android
Add gradle files with android support to java templates
2015-10-15 10:28:28 +08:00