Commit Graph

3596 Commits

Author SHA1 Message Date
Tony Tam
c8ea36e188 rebuilt 2015-11-05 18:52:47 -08:00
Tony Tam
b30cbd9261 correctly set host 2015-11-05 18:52:23 -08:00
Tony Tam
c4b2f210be fixed context path 2015-11-05 18:49:11 -08:00
Tony Tam
4f2eee771d Merge branch 'master' of github.com:swagger-api/swagger-codegen 2015-11-05 18:19:29 -08:00
Tony Tam
cdd20ac408 updated swagger definitions for opts 2015-11-05 18:19:21 -08:00
wing328
f5153e6550 Merge pull request #1512 from wing328/csharp_fix_file_import
[C#] fix import for file type in model files
2015-11-06 09:34:40 +08:00
Tony Tam
b3d29bfb56 Merge pull request #1501 from lugaru1234/optionsResource
changed resource, method stub for generator options
2015-11-05 16:25:38 -08:00
wing328
44df21240f Merge pull request #1511 from boxed/master
Some spelling and grammar fixes
2015-11-05 23:06:50 +08:00
wing328
080e302c63 fix csharp import for file in model files 2015-11-05 22:47:53 +08:00
Anders Hovmöller
4a5a8b7363 Some spelling and grammar fixes 2015-11-05 15:40:05 +01:00
Nadezhda Makarkina
dcd8302f42 added @ApiModelProperty and @JsonIgnore annotations, set defailtValue to java library option 2015-11-05 17:07:40 +03:00
Nadezhda Makarkina
4eeee3b24d changed resource, method stub for generator options 2015-11-05 16:54:06 +03:00
Nadezhda Makarkina
5d8c23dd09 CliOption hah been change to allow enum values 2015-11-05 16:54:06 +03:00
Tony Tam
dadc85b6fd added resource, method stub for generator options 2015-11-05 16:54:06 +03:00
wing328
b4146d3f9c Merge pull request #1479 from sfurholm/feature/add-support-for-sortParamsByRequiredFlag-config-option-to-csharp-and-python
Added support for sortParamsByRequiredFlag config option to C# and Python
2015-11-05 18:55:55 +08:00
wing328
51d9e92a00 add homebrew 2015-11-05 17:12:51 +08:00
wing328
30a4be833b Merge pull request #1502 from dvz5/master
Rebuild perl petstore client after previous updates
2015-11-05 11:59:11 +08:00
wing328
cd733e562e Merge pull request #1506 from xhh/unique-param-name
Make parameters unique in generated code
2015-11-05 11:40:38 +08:00
xhh
9863b631f7 Fix comment to conform to javadoc guideline 2015-11-05 11:23:15 +08:00
Dave Baird
107452d406 Merge remote-tracking branch 'upstream/master' 2015-11-04 22:00:13 +00:00
Dave Baird
baf20ca226 Fix errors from using wrong JSON spec
I've been using http://petstore.swagger.io/v2/swagger.json instead of
modules/swagger-codegen/src/test/resources/2_0/petstore.json as the
input spec for building the petstore. This commit reverts the changes
introduced from that.
2015-11-04 22:24:49 +01:00
Dave Baird
f521680c0f Moved object classes' constructor into base class 2015-11-04 21:42:27 +01:00
Dave Baird
4264b74e40 Minor tidying up
Some documentation, fix a warning, added a couple of logger calls.
2015-11-04 20:27:23 +01:00
wing328
3b77b6ab39 fix link in toc
fix link in toc (Generating a client from local files)
2015-11-04 22:35:29 +08:00
wing328
449fa3a0f5 add guidelines for contriubtion 2015-11-04 22:32:06 +08:00
xhh
5a7bb600d6 Set the ensureUniqueParams option to true by default 2015-11-04 21:28:52 +08:00
xhh
e9ba5ed57c Fix tests 2015-11-04 21:20:16 +08:00
xhh
1a67f452e2 Make parameters unique in generated code
through a config option "ensureUniqueParams" which is false by default

Closes #1422
2015-11-04 20:51:56 +08:00
wing328
76cee8bc6b Merge pull request #1423 from rbhunt/issue-1391
Fix for #1391
2015-11-04 16:12:54 +08:00
wing328
40bd4415f9 Merge pull request #1497 from aersamkull/master
Aligns the two typescript generators
2015-11-04 15:54:13 +08:00
wing328
12b872cd14 Merge pull request #1498 from xhh/ruby-deserialize-additional-properties
Ruby: support map/hash in model deserialization with additionalProperties
2015-11-04 15:13:12 +08:00
wing328
8fa06a1878 Merge pull request #1496 from wing328/python_improvement1
[Python] Add OAuth support
2015-11-04 14:33:47 +08:00
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
Dave Baird
a93eb8aeaa Merge remote-tracking branch 'upstream/master' 2015-11-03 20:39:09 +00:00
Tony Tam
7ac91ced2e updated parser version 2015-11-03 09:13:29 -08:00
Dave Baird
37b123530f Add ApiFactory class and proper accessors on object classes
ApiFactory provides a get_api() method to generate API objects without
having to hard-code class names. All API and object classes are loaded
automatically.

Also, added proper accessors for attributes of object classes.
2015-11-03 17:58:53 +01:00
Dave Baird
8428e7963b Rebuild perl petstore client after previous updates
At least 2 previous updates were committed without rebuilding the perl
petstore client. One was my fault (BaseObject.pm changes), the other
changes come from an upstream update or updates  I can't identify.
2015-11-03 16:46:47 +01:00
wing328
1b538f6eaf Merge pull request #1471 from wing328/invalid_array_type
Better error handling for invalid array/map type
2015-11-03 21:46:24 +08:00
wing328
c8ce84f650 replace tab with space, update samples 2015-11-03 21:34:44 +08:00
wing328
42e10fbb14 better error handling for invalid array/map type 2015-11-03 21:33:06 +08:00
wing328
5bf4d022cf Merge pull request #1490 from xhh/java-oauth
Add oauth support for Java client
2015-11-03 20:34:12 +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
aersamkull
5580eb7ac3 Aligns the two typescript generators 2015-11-03 09:03:52 +01:00
wing328
792726ddc5 update sample, better handle of $ in naming 2015-11-03 10:29:28 +08:00
wing328
eebb6c4dd0 rename auth token to access token 2015-11-03 10:17:47 +08:00
wing328
89ec500744 add oauth support in python 2015-11-03 10:14:20 +08:00
wing328
2778857714 Merge pull request #1409 from sfurholm/feature/allow-overriding-of-only-some-templates-v2
Allow overriding of only some templates when using --template-dir option
2015-11-03 09:33:16 +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
wing328
cb429149bc Merge pull request #1492 from tomekc/swift_custom_headers
Custom headers in Swift; base URL is now modifyable
2015-11-03 09:05:30 +08:00