Python-exp clean up model classnames (#7054)

* Adds lazy_import, removes python-exp java class renaming code, partial removal of getPythonClassName call sites

Fixes PythonClientExperimentalTest.java

Python-exp smaples regeneration

Revers makefile

Reverst pom.xml

Fixes model imports in models.__init__

Updates docstring, omits lazy import in additional properties if we dont need it

Improves additional_properties_type assignment if None

Removes getPythonClassName

Fixes python-exp tests

* Removes unused makefiles
This commit is contained in:
Justin Black
2020-07-27 18:35:41 -07:00
committed by GitHub
parent 2743242ef4
commit ee0686e13f
419 changed files with 2491 additions and 2229 deletions

View File

@@ -146,7 +146,7 @@ This endpoint does not need any parameter.
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **get_order_by_id**
> order.Order get_order_by_id(order_id)
> Order get_order_by_id(order_id)
Find purchase order by ID
@@ -158,7 +158,7 @@ For valid response try integer IDs with value <= 5 or > 10. Other values will ge
import time
import petstore_api
from petstore_api.api import store_api
from petstore_api.model import order
from petstore_api.model.order import Order
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.
@@ -190,7 +190,7 @@ Name | Type | Description | Notes
### Return type
[**order.Order**](Order.md)
[**Order**](Order.md)
### Authorization
@@ -211,7 +211,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **place_order**
> order.Order place_order(body)
> Order place_order(body)
Place an order for a pet
@@ -221,7 +221,7 @@ Place an order for a pet
import time
import petstore_api
from petstore_api.api import store_api
from petstore_api.model import order
from petstore_api.model.order import Order
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.
@@ -234,7 +234,7 @@ configuration = petstore_api.Configuration(
with petstore_api.ApiClient() as api_client:
# Create an instance of the API class
api_instance = store_api.StoreApi(api_client)
body = order.Order() # order.Order | order placed for purchasing the pet
body = Order() # Order | order placed for purchasing the pet
# example passing only required values which don't have defaults set
try:
@@ -249,11 +249,11 @@ with petstore_api.ApiClient() as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**body** | [**order.Order**](Order.md)| order placed for purchasing the pet |
**body** | [**Order**](Order.md)| order placed for purchasing the pet |
### Return type
[**order.Order**](Order.md)
[**Order**](Order.md)
### Authorization