diff --git a/samples/client/petstore/python/SwaggerPetstore-python/.coverage b/samples/client/petstore/python/SwaggerPetstore-python/.coverage new file mode 100644 index 0000000000..6a74db3c6e Binary files /dev/null and b/samples/client/petstore/python/SwaggerPetstore-python/.coverage differ diff --git a/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/PKG-INFO b/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/PKG-INFO new file mode 100644 index 0000000000..ade0b73120 --- /dev/null +++ b/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/PKG-INFO @@ -0,0 +1,12 @@ +Metadata-Version: 1.0 +Name: SwaggerPetstore +Version: 1.0.0 +Summary: Swagger Petstore +Home-page: UNKNOWN +Author: UNKNOWN +Author-email: apiteam@wordnik.com +License: UNKNOWN +Description: This is a sample server Petstore server. You can find out more about Swagger at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters + +Keywords: Swagger,Swagger Petstore +Platform: UNKNOWN diff --git a/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/SOURCES.txt b/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/SOURCES.txt new file mode 100644 index 0000000000..ba54ad64b3 --- /dev/null +++ b/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/SOURCES.txt @@ -0,0 +1,24 @@ +setup.cfg +setup.py +SwaggerPetstore/__init__.py +SwaggerPetstore/rest.py +SwaggerPetstore/swagger.py +SwaggerPetstore/util.py +SwaggerPetstore.egg-info/PKG-INFO +SwaggerPetstore.egg-info/SOURCES.txt +SwaggerPetstore.egg-info/dependency_links.txt +SwaggerPetstore.egg-info/pbr.json +SwaggerPetstore.egg-info/requires.txt +SwaggerPetstore.egg-info/top_level.txt +SwaggerPetstore/apis/__init__.py +SwaggerPetstore/apis/pet_api.py +SwaggerPetstore/apis/store_api.py +SwaggerPetstore/apis/user_api.py +SwaggerPetstore/models/__init__.py +SwaggerPetstore/models/category.py +SwaggerPetstore/models/order.py +SwaggerPetstore/models/pet.py +SwaggerPetstore/models/tag.py +SwaggerPetstore/models/user.py +tests/__init__.py +tests/test_pet_api.py \ No newline at end of file diff --git a/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/dependency_links.txt b/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/dependency_links.txt new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/pbr.json b/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/pbr.json new file mode 100644 index 0000000000..999932a21a --- /dev/null +++ b/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/pbr.json @@ -0,0 +1 @@ +{"is_release": false, "git_version": "52807c0"} \ No newline at end of file diff --git a/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/requires.txt b/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/requires.txt new file mode 100644 index 0000000000..71af034594 --- /dev/null +++ b/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/requires.txt @@ -0,0 +1,2 @@ +urllib3 >= 1.10 +six >= 1.9 diff --git a/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/top_level.txt b/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/top_level.txt new file mode 100644 index 0000000000..28c004b431 --- /dev/null +++ b/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore.egg-info/top_level.txt @@ -0,0 +1,2 @@ +SwaggerPetstore +tests diff --git a/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore/apis/pet_api.py b/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore/apis/pet_api.py index b06447c8c4..db12623e75 100644 --- a/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore/apis/pet_api.py +++ b/samples/client/petstore/python/SwaggerPetstore-python/SwaggerPetstore/apis/pet_api.py @@ -238,18 +238,13 @@ class PetApi(object): body_params = None # HTTP header `Accept` - accepts = [] + accepts = ['application/json', 'application/xml'] header_params['Accept'] = ApiClient.select_header_accept(accepts) # HTTP header `Content-Type` content_types = [] header_params['Content-Type'] = ApiClient.select_header_content_type(content_types) - print('-----------------------------') - print('header_params: ', header_params) - print('-----------------------------') - return - response = self.api_client.call_api(resource_path, method, path_params, query_params, header_params, body=body_params, post_params=form_params, files=files, response='Pet') diff --git a/samples/client/petstore/python/SwaggerPetstore-python/dev-requirements.txt.log b/samples/client/petstore/python/SwaggerPetstore-python/dev-requirements.txt.log new file mode 100644 index 0000000000..0549f97e65 --- /dev/null +++ b/samples/client/petstore/python/SwaggerPetstore-python/dev-requirements.txt.log @@ -0,0 +1,5 @@ +Requirement already satisfied (use --upgrade to upgrade): nose in /Users/geekerzp/.virtualenvs/python2/lib/python2.7/site-packages (from -r dev-requirements.txt (line 1)) +Requirement already satisfied (use --upgrade to upgrade): tox in /Users/geekerzp/.virtualenvs/python2/lib/python2.7/site-packages (from -r dev-requirements.txt (line 2)) +Requirement already satisfied (use --upgrade to upgrade): coverage in /Users/geekerzp/.virtualenvs/python2/lib/python2.7/site-packages (from -r dev-requirements.txt (line 3)) +Requirement already satisfied (use --upgrade to upgrade): randomize in /Users/geekerzp/.virtualenvs/python2/lib/python2.7/site-packages (from -r dev-requirements.txt (line 4)) +Cleaning up...