updated templates

This commit is contained in:
Tony Tam
2015-02-15 18:06:50 -08:00
parent db5259b913
commit f942e82691
3 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env python
"""
WordAPI.py
Copyright 2014 Wordnik, Inc.
{{classname}}.py
Copyright 2015 Reverb Technologies, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -62,8 +62,8 @@ class {{classname}}(object):
files = {}
bodyParam = None
$headerParams['Accept'] = '{{#produces}}{{mediaType}}{{#hasMore}},{{/hasMore}}{{/produces}}';
$headerParams['Content-Type'] = '{{#consumes}}{{mediaType}}{{#hasMore}},{{/hasMore}}{{/consumes}}';
headerParams['Accept'] = '{{#produces}}{{mediaType}}{{#hasMore}},{{/hasMore}}{{/produces}}';
headerParams['Content-Type'] = '{{#consumes}}{{mediaType}}{{#hasMore}},{{/hasMore}}{{/consumes}}';
{{#queryParams}}
if ('{{paramName}}' in params):

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python
"""
Copyright 2014 Wordnik, Inc.
Copyright 2015 Reverb Technologies, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env python
"""Wordnik.com's Swagger generic API client. This client handles the client-
"""Swagger generic API client. This client handles the client-
server communication, and is invariant across implementations. Specifics of
the methods and models for each application are generated from the Swagger
templates."""