Dave Baird
06db67210c
Tiny doc tweak
2015-11-10 14:50:22 +01:00
Dave Baird
92a758e1b3
Merge remote-tracking branch 'upstream/master'
2015-11-10 13:23:40 +00:00
Dave Baird
77b9f51927
More documentation, and clean up a couple of ragged edges
...
- added documentation for configuring authentication
- made auth_setup_handler() optional
- get_api_key_with_prefix() is more self-documenting
2015-11-10 14:22:32 +01:00
wing328
e00d102c47
Merge pull request #1545 from emilianobonassi/support_retrofit2
...
Add support to Retrofit2
2015-11-10 20:43:19 +08:00
Emiliano Bonassi
47f4396fb7
- fix source/target java version to 1.6
...
- add test profile for CI
2015-11-10 12:30:13 +01:00
Dave Baird
521b73b3ef
Apply the singleton pattern to ApiClient
...
- make the api_client a singleton
- remove it from the configuration namespace
2015-11-10 09:47:58 +01:00
Emiliano Bonassi
3a7204d66c
Add support to Retrofit2
2015-11-10 03:20:49 +01:00
Dave Baird
c6cd88b281
Merge remote-tracking branch 'upstream/master'
2015-11-09 22:05:38 +00:00
Dave Baird
c06af6d141
Documentation and automatic documentation
...
- added POD to Role.pm
- added README.md files translated from Role.pm POD
- added an autodoc script (based on AutoDoc.pm role). The script prints
a listing of the methods built in Role.pm
- added class_documentation() and method_documentation() accessors on
all object and API classes which return the documentation supplied in
the Swagger spec for the API
2015-11-09 23:04:59 +01:00
crissdev
d9f7944102
typescript: mark optional model properties
2015-11-09 23:20:02 +02:00
Dave Baird
49034946a0
Make class and method documentation available
...
Documentation from the swagger spec is available via methods
class_documentation() and method_documentation() on object and API
classes.
2015-11-09 17:04:19 +01:00
Dave Baird
f0f43f5fdf
Fix method names clash in Moose Role
...
When flattening all endpoint API methods into a single class, some
method names may clash, e.g. every API has a new() method. So we skip
them, they must be accessed via the API method. Warnings are emitted to
document skipped methods.
2015-11-08 21:51:26 +01:00
rostskadat
730202deb2
Added @RequestBody annotation in order for the generated code to
...
properly create API Model object.
@RequestBody Annotation Ref:
http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-ann-requestbody
2015-11-08 17:24:22 +01:00
Dave Baird
6a5f583ab0
Merge remote-tracking branch 'upstream/master'
2015-11-08 10:13:34 +00:00
wing328
4feca0d680
Merge pull request #1491 from cbornet/javax_android
...
Provide dependency to javax.annotation.Generated for android templates
2015-11-08 11:12:57 +08:00
Dave Baird
6c19f0c26c
Flatten entire API into a single class
...
Added a Moose role which flattens all the individual endpoint APIs into
a single class.
2015-11-07 20:37:13 +01:00
wing328
a5878130c4
Merge pull request #1523 from wing328/perl_update_cli
...
[Perl] update CLI option for perl
2015-11-07 10:51:42 +08:00
wing328
f19a8d41e4
Merge pull request #1525 from wing328/ts-reserved-word
...
[TypeScript] add reserved word handling for OperationId (method name)
2015-11-07 10:42:24 +08:00
Tony Tam
2bcb5f8fc2
Merge pull request #1524 from lugaru1234/optionsCleanup
...
Fixes #1516 : apiPackage and modelPackage options haave been moved from DefaultCodegen
2015-11-06 08:42:42 -08:00
Tony Tam
5b80e95b96
Merge pull request #1519 from swagger-api/issue-1518
...
remove duplicate tags, replace with extensions in templates
2015-11-06 06:22:08 -08:00
wing328
3ff060fa90
add reserved word handling for typescript
2015-11-06 21:46:47 +08:00
wing328
f7ffc7f118
update test case for perl
2015-11-06 21:24:04 +08:00
wing328
0d12f32b05
update cli option for perl
2015-11-06 21:00:04 +08:00
Nadezhda Makarkina
2f76f28dd4
apiPackage and modelPackage options haave been moved from DefaultCodegen to classes, that uses it
2015-11-06 15:44:32 +03:00
wing328
eaf985069b
Merge pull request #1521 from xhh/java-readme
...
[Java] Add README.md to Java clients
2015-11-06 20:31:15 +08:00
xhh
8d3e555f8a
Add README.md to Java clients
...
containing documentation like how to build and use the client
2015-11-06 17:15:32 +08:00
wing328
bd8f7a7aeb
Merge pull request #1509 from xhh/ruby-collection-format
...
[Ruby] Support collectionFormat for header, query and form parameters
2015-11-06 17:07:48 +08:00
Tony Tam
be0232fa35
moved tags to extension to avoid path collisions #1518
2015-11-05 22:26:49 -08:00
wing328
5a8d2c834f
add oauth support to csharp
2015-11-06 13:56:40 +08:00
wing328
a3b90c516d
Merge pull request #1507 from wing328/perl_support_ouath
...
[Perl] add oauth2 support for Perl
2015-11-06 11:39:15 +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
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
wing328
080e302c63
fix csharp import for file in model files
2015-11-05 22:47:53 +08: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
5d8c23dd09
CliOption hah been change to allow enum values
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
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
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
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
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