Files
openapi-generator/samples/petstore/python3/README.md
2012-09-10 00:25:31 -07:00

643 B

Sample Petstore Python 3 application

Here's a Python 3.2 Swagger client with unit tests for the Petstore sample application. See the interactive Swagger documentation at http://petstore.swagger.wordnik.com/ for more information on this demonstration API.

The client contained in petstore was generated using this swagger-codegen project, with the following command:

./bin/runscala.sh com.wordnik.swagger.codegen.BasicPython3Generator http://petstore.swagger.wordnik.com/api/resources.json special-key

To run the tests, issue a command like the following:

python3.2 tests/BaseApiTest.py