forked from loafle/openapi-generator-original
[python-nextgen] better sample code (#15248)
* better python-nextgen sample code * remove future import * fix signing doc * better test * use hasHttpBearerMethods instead
This commit is contained in:
@@ -17,12 +17,12 @@ Test path parameter(s)
|
||||
### Example
|
||||
|
||||
```python
|
||||
from __future__ import print_function
|
||||
import time
|
||||
import os
|
||||
import openapi_client
|
||||
from openapi_client.rest import ApiException
|
||||
from pprint import pprint
|
||||
|
||||
# Defining the host is optional and defaults to http://localhost:3000
|
||||
# See configuration.py for a list of all supported configuration parameters.
|
||||
configuration = openapi_client.Configuration(
|
||||
@@ -46,6 +46,7 @@ with openapi_client.ApiClient(configuration) as api_client:
|
||||
print("Exception when calling PathApi->tests_path_string_path_string_integer_path_integer: %s\n" % e)
|
||||
```
|
||||
|
||||
|
||||
### Parameters
|
||||
|
||||
Name | Type | Description | Notes
|
||||
|
||||
Reference in New Issue
Block a user