Commit Graph

1288 Commits

Author SHA1 Message Date
Tony Tam
fe06652931 removed scala compile step #205 2015-02-15 19:04:53 -08:00
Tony Tam
098f7930eb added script 2015-02-15 18:07:05 -08:00
Tony Tam
f942e82691 updated templates 2015-02-15 18:06:50 -08:00
Tony Tam
db5259b913 updated script, addressed #189 with type mapping 2015-02-15 18:06:40 -08:00
Tony Tam
dfc7750dda rebuilt client 2015-02-15 18:05:56 -08:00
Tony Tam
dd971f19e7 added support for headers when generating per #102 2015-02-15 17:15:40 -08:00
Tony Tam
785cc4e29a fixed file suffix 2015-02-14 17:49:33 -08:00
Tony Tam
0c3e82e375 updated templates 2015-02-14 17:49:19 -08:00
Tony Tam
a6744507ef updated version 2015-02-14 17:49:10 -08:00
Tony Tam
9614dd8b95 added sample 2015-02-14 17:48:55 -08:00
Tony Tam
5208b36939 updated client 2015-02-14 17:36:52 -08:00
Tony Tam
779bdb23eb rebuilt client 2015-02-14 17:36:39 -08:00
Tony Tam
4bd1b99213 Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0 2015-02-14 17:34:27 -08:00
Tony Tam
4841485456 Merge pull request #427 from lucamilanesio/scala-mustache-backward-compatibility
Scala api.mustache: make new constructor backward compatible
2015-02-14 17:34:23 -08:00
Tony Tam
d5ddf0c404 Merge branch 'develop_2.0' of github.com:swagger-api/swagger-codegen into develop_2.0 2015-02-14 17:33:46 -08:00
Tony Tam
7d4cc6bdde Merge pull request #425 from lucamilanesio/develop_2.0
SPNEGO auth fix: Authentication scheme should be set as String
2015-02-14 17:33:30 -08:00
Tony Tam
a0d74531f7 added petstore script 2015-02-14 17:09:07 -08:00
Tony Tam
feb6119572 added supporting data post processing 2015-02-14 17:08:51 -08:00
Tony Tam
dbc4ab51b1 removed deprecated call 2015-02-14 17:08:37 -08:00
Tony Tam
8daebf78f4 updated sample 2015-02-14 17:06:32 -08:00
Tony Tam
391806570c updated script 2015-02-14 16:30:38 -08:00
Tony Tam
ed1e082896 updated versions 2015-02-13 22:16:54 -08:00
Tony Tam
0640c63573 updated readme 2015-02-12 22:32:00 -08:00
Tony Tam
9985d9e2d9 removed template path 2015-02-12 22:26:42 -08:00
Tony Tam
cd3dfe164b rebuilt 2015-02-12 22:25:29 -08:00
Tony Tam
85b396ce88 rebuilt sample 2015-02-12 22:24:17 -08:00
Tony Tam
241c69fef7 updated templates 2015-02-12 22:24:04 -08:00
Tony Tam
20deb15c8c updated client 2015-02-12 21:54:34 -08:00
Tony Tam
2bc5e71f91 updated year in comments 2015-02-12 21:53:37 -08:00
Tony Tam
dd9da67f51 made match case insensitive 2015-02-12 21:51:44 -08:00
Tony Tam
10e9e8a51d rebuilt 2015-02-12 21:40:42 -08:00
Tony Tam
c3978d2ea3 updated dependencies for compat 2015-02-12 21:38:52 -08:00
Tony Tam
54db9f8f24 updated scripts 2015-02-12 21:38:31 -08:00
Tony Tam
8785759fdf Merge pull request #431 from devnulled/develop_2.0
Fixed The html.sh Sample Generation Script
2015-02-12 16:26:30 -08:00
Brandon Harper
59b0a062a0 Fixed/updated the swagger.json URL in the html.sh script so that it would generate a sample again. 2015-02-12 14:46:02 -07:00
Tony Tam
95155f07d8 added snapshots back 2015-02-11 08:27:52 -08:00
Luca Milanesio
14795df85d Scala api.mustache: make new constructor backward compatible
When default values have been provided with the api.mustache
constructor, backward compatibility was broken because of the public
instance variables becoming immutable vals whilst they were vars before.

We can now use the constructor arguments as default values for the internal
vars and establish backward compatibility with existing code.
2015-02-11 11:00:41 +00:00
Tony Tam
d821a897b3 Merge pull request #426 from lucamilanesio/scala-mustache-easy-override
Scala api.mustache: allow easy basePath and ApiInvoker override
2015-02-10 08:22:39 -08:00
Luca Milanesio
fd560f4dc1 Scala api.mustache: allow easy basePath and ApiInvoker override
Gets rid of the smelly vars inside Scala api.mustache allowing the
override of default basePath and ApiInvoker on the constructor.

Previously the code for overriding was:

  val myApi = new MyApi()
  myApi.basePath = "http://myapi.endpoint.com"
  myApi.apiInvoker = new ApiInvoker(authScheme = "SPNEGO")

after the change everything can be simply declared in the constructor:

  val myApi = new MyApi("http://myapi.endpoint.com",
                         new ApiInvoker(authScheme = "SPNEGO"))
2015-02-10 14:07:13 +00:00
Luca Milanesio
6ecc569abd SPNEGO auth fix: Authentication scheme should be set as String
Default authentication scheme is a String and must be later
on decoded as Realm enum
2015-02-10 12:17:27 +00:00
Tony Tam
759c0aea80 Merge pull request #421 from lucamilanesio/scala-spnego-preemptive-auth-2.0
Support Secure SPNEGO kerberos negotiation for Scala
2015-02-09 12:33:59 -08:00
Luca Milanesio
8e327aa24b Support for Secure SPNEGO kerberos negotiation
Ability to integrate with a SPNEGO-protected REST API
with KerberosV5 ticket preemptive authentication.
2015-02-09 20:14:13 +00:00
Luca Milanesio
592d59ceb2 Support for HTTP Async client transport for Jersey on Scala
When generating Scala client, the ApiInvoker is a class with
overridable options, avoiding the need of public vars to be
manually modified.

Additionally it is possible to plug the AsyncHttp protocol
for Jersey in order to achieve Netty support and maximum scalability.

NOTE: Support for Scala 2.10.0-3 removed as largely obsolete
2015-02-09 19:59:26 +00:00
Tony Tam
781c9f7d83 Merge pull request #416 from FindTheBest/develop_2.0
PHP/Python Enhancements
2015-02-08 22:15:34 -08:00
Tony Tam
70803a1d09 Update README.md 2015-02-07 15:32:06 -08:00
Tony Tam
ffe5fc7fd2 changed signature for usage in generator 2015-02-07 14:59:35 -08:00
Tony Tam
cbc9fdbe34 updated annotations 2015-02-07 11:08:21 -08:00
Tony Tam
416c087be0 removed old files 2015-02-06 11:36:58 -08:00
James Ebentier
09bfecf76e Python: adding in support for formParams as well as multipart-form requests 2015-02-06 11:32:15 -08:00
James Ebentier
8b4180ca4a PHP: moving over the addition of a setTimeout function for the APIClient 2015-02-06 11:16:16 -08:00