Skip to content

Commit 2765d61

Browse files
committed
Revert "updated python samples"
This reverts commit 089d079.
1 parent 089d079 commit 2765d61

Some content is hidden

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

42 files changed

+76
-21
lines changed

pom.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -839,28 +839,28 @@
839839
<modules>
840840
<!-- <module>samples/server/petstore/erlang-server</module> note: make sample compilation work -->
841841
<!-- clients -->
842-
<!--<module>samples/client/petstore/php/SwaggerClient-php</module>-->
843-
<!--<module>samples/client/petstore/ruby</module>-->
844-
<!--<module>samples/client/petstore/scala</module>-->
845-
<!--<module>samples/client/petstore/akka-scala</module>-->
846-
<!--<module>samples/client/petstore/javascript</module>-->
842+
<module>samples/client/petstore/php/SwaggerClient-php</module>
843+
<module>samples/client/petstore/ruby</module>
844+
<module>samples/client/petstore/scala</module>
845+
<module>samples/client/petstore/akka-scala</module>
846+
<module>samples/client/petstore/javascript</module>
847847
<module>samples/client/petstore/python</module>
848848
<!--<module>samples/client/petstore/python-tornado</module>-->
849849
<module>samples/client/petstore/python-asyncio</module>
850-
<!--<module>samples/client/petstore/typescript-fetch/builds/default</module>-->
851-
<!--<module>samples/client/petstore/typescript-fetch/builds/es6-target</module>-->
852-
<!--<module>samples/client/petstore/typescript-fetch/builds/with-npm-version</module>-->
853-
<!--<module>samples/client/petstore/typescript-fetch/tests/default</module>-->
854-
<!--<module>samples/client/petstore/typescript-node/npm</module>-->
850+
<module>samples/client/petstore/typescript-fetch/builds/default</module>
851+
<module>samples/client/petstore/typescript-fetch/builds/es6-target</module>
852+
<module>samples/client/petstore/typescript-fetch/builds/with-npm-version</module>
853+
<module>samples/client/petstore/typescript-fetch/tests/default</module>
854+
<module>samples/client/petstore/typescript-node/npm</module>
855855
<!-- comment out due to github rate limit error
856856
<module>samples/client/petstore/typescript-angularjs</module>-->
857857
<!-- comment out due to error `npm run build`
858858
<module>samples/client/petstore/typescript-jquery/npm</module>-->
859859
<!--<module>samples/client/petstore/typescript-angular-v2/npm</module>-->
860-
<!--<module>samples/client/petstore/typescript-angular-v4/npm</module>-->
861-
<!--<module>samples/client/petstore/typescript-angular-v4.3/npm</module>-->
862-
<!--<module>samples/client/petstore/typescript-angular-v5/npm</module>-->
863-
<!--<module>samples/client/petstore/typescript-angular-v6/npm</module>-->
860+
<module>samples/client/petstore/typescript-angular-v4/npm</module>
861+
<module>samples/client/petstore/typescript-angular-v4.3/npm</module>
862+
<module>samples/client/petstore/typescript-angular-v5/npm</module>
863+
<module>samples/client/petstore/typescript-angular-v6/npm</module>
864864
<!--<module>samples/client/petstore/bash</module>-->
865865
</modules>
866866
</profile>

samples/client/petstore/python-asyncio/petstore_api/models/cat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import six
1818

19-
class Cat(object):
19+
class Cat(Animal):
2020
"""NOTE: This class is auto generated by the swagger code generator program.
2121
2222
Do not edit the class manually.

samples/client/petstore/python-asyncio/petstore_api/models/dog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
import six
1818

19-
class Dog(object):
19+
class Dog(Animal):
2020
"""NOTE: This class is auto generated by the swagger code generator program.
2121
2222
Do not edit the class manually.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.9-SNAPSHOT
1+
2.4.3-SNAPSHOT

samples/client/petstore/python-tornado/petstore_api/models/additional_properties_class.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import six
1818

19+
1920
class AdditionalPropertiesClass(object):
2021
"""NOTE: This class is auto generated by the swagger code generator program.
2122

samples/client/petstore/python-tornado/petstore_api/models/animal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import six
1818

19+
1920
class Animal(object):
2021
"""NOTE: This class is auto generated by the swagger code generator program.
2122

samples/client/petstore/python-tornado/petstore_api/models/animal_farm.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616

1717
import six
1818

19+
from petstore_api.models.animal import Animal # noqa: F401,E501
20+
21+
1922
class AnimalFarm(object):
2023
"""NOTE: This class is auto generated by the swagger code generator program.
2124

samples/client/petstore/python-tornado/petstore_api/models/api_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import six
1818

19+
1920
class ApiResponse(object):
2021
"""NOTE: This class is auto generated by the swagger code generator program.
2122

samples/client/petstore/python-tornado/petstore_api/models/array_of_array_of_number_only.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import six
1818

19+
1920
class ArrayOfArrayOfNumberOnly(object):
2021
"""NOTE: This class is auto generated by the swagger code generator program.
2122

samples/client/petstore/python-tornado/petstore_api/models/array_of_number_only.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
import six
1818

19+
1920
class ArrayOfNumberOnly(object):
2021
"""NOTE: This class is auto generated by the swagger code generator program.
2122

0 commit comments

Comments
 (0)