[Python] Fix bug of test files about packageName

This commit is contained in:
Takuro Wada
2016-06-07 00:37:49 +09:00
parent 6a73f29cef
commit 7916f5243d
77 changed files with 258 additions and 278 deletions

View File

@@ -1,4 +1,4 @@
# swagger_client.UserApi
# petstore_api.UserApi
All URIs are relative to *http://petstore.swagger.io/v2*
@@ -24,13 +24,13 @@ This can only be done by the logged in user.
### Example
```python
import time
import swagger_client
from swagger_client.rest import ApiException
import petstore_api
from petstore_api.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.UserApi()
body = swagger_client.User() # User | Created user object
api_instance = petstore_api.UserApi()
body = petstore_api.User() # User | Created user object
try:
# Create user
@@ -70,13 +70,13 @@ Creates list of users with given input array
### Example
```python
import time
import swagger_client
from swagger_client.rest import ApiException
import petstore_api
from petstore_api.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.UserApi()
body = [swagger_client.User()] # list[User] | List of user object
api_instance = petstore_api.UserApi()
body = [petstore_api.User()] # list[User] | List of user object
try:
# Creates list of users with given input array
@@ -116,13 +116,13 @@ Creates list of users with given input array
### Example
```python
import time
import swagger_client
from swagger_client.rest import ApiException
import petstore_api
from petstore_api.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.UserApi()
body = [swagger_client.User()] # list[User] | List of user object
api_instance = petstore_api.UserApi()
body = [petstore_api.User()] # list[User] | List of user object
try:
# Creates list of users with given input array
@@ -162,12 +162,12 @@ This can only be done by the logged in user.
### Example
```python
import time
import swagger_client
from swagger_client.rest import ApiException
import petstore_api
from petstore_api.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.UserApi()
api_instance = petstore_api.UserApi()
username = 'username_example' # str | The name that needs to be deleted
try:
@@ -208,12 +208,12 @@ Get user by user name
### Example
```python
import time
import swagger_client
from swagger_client.rest import ApiException
import petstore_api
from petstore_api.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.UserApi()
api_instance = petstore_api.UserApi()
username = 'username_example' # str | The name that needs to be fetched. Use user1 for testing.
try:
@@ -255,12 +255,12 @@ Logs user into the system
### Example
```python
import time
import swagger_client
from swagger_client.rest import ApiException
import petstore_api
from petstore_api.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.UserApi()
api_instance = petstore_api.UserApi()
username = 'username_example' # str | The user name for login
password = 'password_example' # str | The password for login in clear text
@@ -304,12 +304,12 @@ Logs out current logged in user session
### Example
```python
import time
import swagger_client
from swagger_client.rest import ApiException
import petstore_api
from petstore_api.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.UserApi()
api_instance = petstore_api.UserApi()
try:
# Logs out current logged in user session
@@ -346,14 +346,14 @@ This can only be done by the logged in user.
### Example
```python
import time
import swagger_client
from swagger_client.rest import ApiException
import petstore_api
from petstore_api.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.UserApi()
api_instance = petstore_api.UserApi()
username = 'username_example' # str | name that need to be deleted
body = swagger_client.User() # User | Updated user object
body = petstore_api.User() # User | Updated user object
try:
# Updated user