forked from loafle/openapi-generator-original
fix isMap (#16043)
This commit is contained in:
@@ -231,6 +231,7 @@ Test query parameter(s)
|
||||
import time
|
||||
import os
|
||||
import openapi_client
|
||||
from openapi_client.models.pet import Pet
|
||||
from openapi_client.rest import ApiException
|
||||
from pprint import pprint
|
||||
|
||||
@@ -245,7 +246,7 @@ configuration = openapi_client.Configuration(
|
||||
with openapi_client.ApiClient(configuration) as api_client:
|
||||
# Create an instance of the API class
|
||||
api_instance = openapi_client.QueryApi(api_client)
|
||||
query_object = {'key': openapi_client.Pet()} # Pet | (optional)
|
||||
query_object = openapi_client.Pet() # Pet | (optional)
|
||||
|
||||
try:
|
||||
# Test query parameter(s)
|
||||
@@ -361,6 +362,7 @@ Test query parameter(s)
|
||||
import time
|
||||
import os
|
||||
import openapi_client
|
||||
from openapi_client.models.test_query_style_form_explode_true_array_string_query_object_parameter import TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
from openapi_client.rest import ApiException
|
||||
from pprint import pprint
|
||||
|
||||
@@ -375,7 +377,7 @@ configuration = openapi_client.Configuration(
|
||||
with openapi_client.ApiClient(configuration) as api_client:
|
||||
# Create an instance of the API class
|
||||
api_instance = openapi_client.QueryApi(api_client)
|
||||
query_object = {'key': openapi_client.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter()} # TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter | (optional)
|
||||
query_object = openapi_client.TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter() # TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter | (optional)
|
||||
|
||||
try:
|
||||
# Test query parameter(s)
|
||||
@@ -426,6 +428,7 @@ Test query parameter(s)
|
||||
import time
|
||||
import os
|
||||
import openapi_client
|
||||
from openapi_client.models.pet import Pet
|
||||
from openapi_client.rest import ApiException
|
||||
from pprint import pprint
|
||||
|
||||
@@ -440,7 +443,7 @@ configuration = openapi_client.Configuration(
|
||||
with openapi_client.ApiClient(configuration) as api_client:
|
||||
# Create an instance of the API class
|
||||
api_instance = openapi_client.QueryApi(api_client)
|
||||
query_object = {'key': openapi_client.Pet()} # Pet | (optional)
|
||||
query_object = openapi_client.Pet() # Pet | (optional)
|
||||
|
||||
try:
|
||||
# Test query parameter(s)
|
||||
|
||||
@@ -24,9 +24,11 @@ from datetime import date, datetime
|
||||
|
||||
from pydantic import StrictBool, StrictInt, StrictStr
|
||||
|
||||
from typing import Any, Dict, Optional
|
||||
from typing import Any, Optional
|
||||
|
||||
from openapi_client.models.pet import Pet
|
||||
from openapi_client.models.string_enum_ref import StringEnumRef
|
||||
from openapi_client.models.test_query_style_form_explode_true_array_string_query_object_parameter import TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||
|
||||
from openapi_client.api_client import ApiClient
|
||||
from openapi_client.api_response import ApiResponse
|
||||
@@ -504,7 +506,7 @@ class QueryApi(object):
|
||||
_request_auth=_params.get('_request_auth'))
|
||||
|
||||
@validate_arguments
|
||||
def test_query_style_deep_object_explode_true_object(self, query_object : Optional[Dict[str, Dict[str, Any]]] = None, **kwargs) -> str: # noqa: E501
|
||||
def test_query_style_deep_object_explode_true_object(self, query_object : Optional[Pet] = None, **kwargs) -> str: # noqa: E501
|
||||
"""Test query parameter(s) # noqa: E501
|
||||
|
||||
Test query parameter(s) # noqa: E501
|
||||
@@ -533,7 +535,7 @@ class QueryApi(object):
|
||||
return self.test_query_style_deep_object_explode_true_object_with_http_info(query_object, **kwargs) # noqa: E501
|
||||
|
||||
@validate_arguments
|
||||
def test_query_style_deep_object_explode_true_object_with_http_info(self, query_object : Optional[Dict[str, Dict[str, Any]]] = None, **kwargs) -> ApiResponse: # noqa: E501
|
||||
def test_query_style_deep_object_explode_true_object_with_http_info(self, query_object : Optional[Pet] = None, **kwargs) -> ApiResponse: # noqa: E501
|
||||
"""Test query parameter(s) # noqa: E501
|
||||
|
||||
Test query parameter(s) # noqa: E501
|
||||
@@ -782,7 +784,7 @@ class QueryApi(object):
|
||||
_request_auth=_params.get('_request_auth'))
|
||||
|
||||
@validate_arguments
|
||||
def test_query_style_form_explode_true_array_string(self, query_object : Optional[Dict[str, Any]] = None, **kwargs) -> str: # noqa: E501
|
||||
def test_query_style_form_explode_true_array_string(self, query_object : Optional[TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter] = None, **kwargs) -> str: # noqa: E501
|
||||
"""Test query parameter(s) # noqa: E501
|
||||
|
||||
Test query parameter(s) # noqa: E501
|
||||
@@ -811,7 +813,7 @@ class QueryApi(object):
|
||||
return self.test_query_style_form_explode_true_array_string_with_http_info(query_object, **kwargs) # noqa: E501
|
||||
|
||||
@validate_arguments
|
||||
def test_query_style_form_explode_true_array_string_with_http_info(self, query_object : Optional[Dict[str, Any]] = None, **kwargs) -> ApiResponse: # noqa: E501
|
||||
def test_query_style_form_explode_true_array_string_with_http_info(self, query_object : Optional[TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter] = None, **kwargs) -> ApiResponse: # noqa: E501
|
||||
"""Test query parameter(s) # noqa: E501
|
||||
|
||||
Test query parameter(s) # noqa: E501
|
||||
@@ -921,7 +923,7 @@ class QueryApi(object):
|
||||
_request_auth=_params.get('_request_auth'))
|
||||
|
||||
@validate_arguments
|
||||
def test_query_style_form_explode_true_object(self, query_object : Optional[Dict[str, Any]] = None, **kwargs) -> str: # noqa: E501
|
||||
def test_query_style_form_explode_true_object(self, query_object : Optional[Pet] = None, **kwargs) -> str: # noqa: E501
|
||||
"""Test query parameter(s) # noqa: E501
|
||||
|
||||
Test query parameter(s) # noqa: E501
|
||||
@@ -950,7 +952,7 @@ class QueryApi(object):
|
||||
return self.test_query_style_form_explode_true_object_with_http_info(query_object, **kwargs) # noqa: E501
|
||||
|
||||
@validate_arguments
|
||||
def test_query_style_form_explode_true_object_with_http_info(self, query_object : Optional[Dict[str, Any]] = None, **kwargs) -> ApiResponse: # noqa: E501
|
||||
def test_query_style_form_explode_true_object_with_http_info(self, query_object : Optional[Pet] = None, **kwargs) -> ApiResponse: # noqa: E501
|
||||
"""Test query parameter(s) # noqa: E501
|
||||
|
||||
Test query parameter(s) # noqa: E501
|
||||
|
||||
Reference in New Issue
Block a user