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
xhh
76eeb51af6
Support collectionFormat in Ruby client
...
for header, query and form parameters
2015-11-05 20:02:09 +08: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
4bfc032a64
add oauth2 support for Perl
2015-11-05 16:32:46 +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
wing328
6b857d7acc
Merge pull request #1395 from cbornet/retrofit_improvements
...
[Retrofit]Add a listener on new token reception
2015-11-03 09:03:58 +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
cbornet
5b1f287176
add android manifest to java codegen
2015-11-02 18:32:52 +01:00
cbornet
645b8a01e1
provide dependency to javax.annotation.Generated for android
2015-11-02 16:16:14 +01:00
xhh
a94f9b69af
Add oauth support to other Java clients
...
with libraries jersey2 and okhttp-gson
2015-11-02 22:52:51 +08:00
wing328
1f38ce724f
Merge pull request #1486 from aersamkull/master
...
Addes default headers for TypeScript Angular
2015-11-02 21:36:46 +08:00
wing328
9f7427b1cf
Merge pull request #1489 from dvz5/master
...
Fix array query param processing
2015-11-02 21:36:25 +08:00
xhh
b27931cd8c
Add oauth support for Java client
2015-11-02 21:27:53 +08:00