Skip to content

Commit 2ed3d8c

Browse files
authored
Update python test (#426)
* update python test folders * update python template * update python samples * fix python comment too long * update ruby test case
1 parent 4b7a583 commit 2ed3d8c

File tree

279 files changed

+515
-2144
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

279 files changed

+515
-2144
lines changed

modules/openapi-generator/src/main/resources/python/api.mustache

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ from {{packageName}}.api_client import ApiClient
1414

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

1920
Do not edit the class manually.
2021
"""

modules/openapi-generator/src/main/resources/python/api_client.mustache

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ class ApiClient(object):
3030
the methods and models for each application are generated from the OpenAPI
3131
templates.
3232

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

3637
:param configuration: .Configuration object for this client

modules/openapi-generator/src/main/resources/python/configuration.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class TypeWithDefault(type):
2929

3030

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

3434
Ref: https://openapi-generator.tech
3535
Do not edit the class manually.

modules/openapi-generator/src/main/resources/python/model.mustache

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ import six
1515
{{#models}}
1616
{{#model}}
1717
class {{classname}}(object):
18-
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
18+
"""NOTE: This class is auto generated by OpenAPI Generator.
19+
Ref: https://openapi-generator.tech
1920

2021
Do not edit the class manually.
2122
"""{{#allowableValues}}

samples/client/petstore/python-asyncio/petstore_api/api/another_fake_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121

2222

2323
class AnotherFakeApi(object):
24-
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24+
"""NOTE: This class is auto generated by OpenAPI Generator
25+
Ref: https://openapi-generator.tech
2526
2627
Do not edit the class manually.
2728
"""

samples/client/petstore/python-asyncio/petstore_api/api/fake_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121

2222

2323
class FakeApi(object):
24-
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24+
"""NOTE: This class is auto generated by OpenAPI Generator
25+
Ref: https://openapi-generator.tech
2526
2627
Do not edit the class manually.
2728
"""

samples/client/petstore/python-asyncio/petstore_api/api/fake_classname_tags_123_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121

2222

2323
class FakeClassnameTags123Api(object):
24-
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24+
"""NOTE: This class is auto generated by OpenAPI Generator
25+
Ref: https://openapi-generator.tech
2526
2627
Do not edit the class manually.
2728
"""

samples/client/petstore/python-asyncio/petstore_api/api/pet_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121

2222

2323
class PetApi(object):
24-
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24+
"""NOTE: This class is auto generated by OpenAPI Generator
25+
Ref: https://openapi-generator.tech
2526
2627
Do not edit the class manually.
2728
"""

samples/client/petstore/python-asyncio/petstore_api/api/store_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121

2222

2323
class StoreApi(object):
24-
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24+
"""NOTE: This class is auto generated by OpenAPI Generator
25+
Ref: https://openapi-generator.tech
2526
2627
Do not edit the class manually.
2728
"""

samples/client/petstore/python-asyncio/petstore_api/api/user_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121

2222

2323
class UserApi(object):
24-
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24+
"""NOTE: This class is auto generated by OpenAPI Generator
25+
Ref: https://openapi-generator.tech
2526
2627
Do not edit the class manually.
2728
"""

0 commit comments

Comments
 (0)