Skip to content

Commit

Permalink
Update python test (OpenAPITools#426)
Browse files Browse the repository at this point in the history
* update python test folders

* update python template

* update python samples

* fix python comment too long

* update ruby test case
  • Loading branch information
wing328 authored May 12, 2018
1 parent 4b7a583 commit 2ed3d8c
Show file tree
Hide file tree
Showing 279 changed files with 515 additions and 2,144 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ from {{packageName}}.api_client import ApiClient

{{#operations}}
class {{classname}}(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech

Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class ApiClient(object):
the methods and models for each application are generated from the OpenAPI
templates.

NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.

:param configuration: .Configuration object for this client
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class TypeWithDefault(type):


class Configuration(six.with_metaclass(TypeWithDefault, object)):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator

Ref: https://openapi-generator.tech
Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import six
{{#models}}
{{#model}}
class {{classname}}(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
"""{{#allowableValues}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@


class AnotherFakeApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@


class FakeApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@


class FakeClassnameTags123Api(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@


class PetApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@


class StoreApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@


class UserApi(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ class ApiClient(object):
the methods and models for each application are generated from the OpenAPI
templates.
NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
:param configuration: .Configuration object for this client
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def set_default(cls, default):


class Configuration(six.with_metaclass(TypeWithDefault, object)):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator
Ref: https://openapi-generator.tech
Do not edit the class manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class AdditionalPropertiesClass(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class Animal(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@


class AnimalFarm(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class ApiResponse(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class ArrayOfArrayOfNumberOnly(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class ArrayOfNumberOnly(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@


class ArrayTest(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class Capitalization(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@


class Cat(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class Category(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class ClassModel(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class Client(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@


class Dog(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class EnumArrays(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class EnumClass(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@


class EnumTest(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class FormatTest(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class HasOnlyReadOnly(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class List(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class MapTest(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@


class MixedPropertiesAndAdditionalPropertiesClass(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@


class Model200Response(object):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
Expand Down
Loading

0 comments on commit 2ed3d8c

Please sign in to comment.