forked from loafle/openapi-generator-original
[Python experimental] Readme improvements (#6031)
* Python experimental readme improvements * Python experimental readme improvements * execute scripts in bin directory
This commit is contained in:
@@ -22,6 +22,12 @@ import time
|
||||
import petstore_api
|
||||
from petstore_api.rest import ApiException
|
||||
from pprint import pprint
|
||||
# Defining the host is optional and defaults to http://petstore.swagger.io:80/v2
|
||||
# See configuration.py for a list of all supported configuration parameters.
|
||||
configuration = petstore_api.Configuration(
|
||||
host = "http://petstore.swagger.io:80/v2"
|
||||
)
|
||||
|
||||
|
||||
# Enter a context with an instance of the API client
|
||||
with petstore_api.ApiClient() as api_client:
|
||||
|
||||
Reference in New Issue
Block a user