diff --git a/modules/swagger-codegen/src/main/resources/python/api.mustache b/modules/swagger-codegen/src/main/resources/python/api.mustache index a5eca0346a..799de81387 100644 --- a/modules/swagger-codegen/src/main/resources/python/api.mustache +++ b/modules/swagger-codegen/src/main/resources/python/api.mustache @@ -1,4 +1,6 @@ #!/usr/bin/env python +# coding: utf-8 + """ {{classname}}.py Copyright 2015 Reverb Technologies, Inc. diff --git a/modules/swagger-codegen/src/main/resources/python/model.mustache b/modules/swagger-codegen/src/main/resources/python/model.mustache index ff81820ca3..e46c63df63 100644 --- a/modules/swagger-codegen/src/main/resources/python/model.mustache +++ b/modules/swagger-codegen/src/main/resources/python/model.mustache @@ -1,4 +1,6 @@ #!/usr/bin/env python +# coding: utf-8 + """ Copyright 2015 Reverb Technologies, Inc. @@ -39,7 +41,7 @@ class {{classname}}(object): {{#vars}} '{{name}}': '{{baseName}}'{{#hasMore}},{{/hasMore}} {{/vars}} - } + } {{#vars}} {{#description}}#{{description}} diff --git a/modules/swagger-codegen/src/main/resources/python/swagger.mustache b/modules/swagger-codegen/src/main/resources/python/swagger.mustache index d5e54666e0..018e92536c 100644 --- a/modules/swagger-codegen/src/main/resources/python/swagger.mustache +++ b/modules/swagger-codegen/src/main/resources/python/swagger.mustache @@ -1,4 +1,6 @@ #!/usr/bin/env python +# coding: utf-8 + """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