update samples

This commit is contained in:
William Cheng 2023-11-16 00:56:05 +08:00
parent 37451fa569
commit d9920a5b81
6 changed files with 14 additions and 16 deletions

View File

@ -337,8 +337,7 @@ class AuthApi:
)
_response_types_map: Dict[str, Optional[str]] = {
'200': "str"
'200': "str",
}
response_data = self.api_client.call_api(
*_param,
@ -401,8 +400,7 @@ class AuthApi:
)
_response_types_map: Dict[str, Optional[str]] = {
'200': "str"
'200': "str",
}
response_data = self.api_client.call_api(
*_param,
@ -465,8 +463,7 @@ class AuthApi:
)
_response_types_map: Dict[str, Optional[str]] = {
'200': "str"
'200': "str",
}
response_data = self.api_client.call_api(
*_param,

View File

@ -337,8 +337,7 @@ class AuthApi:
)
_response_types_map: Dict[str, Optional[str]] = {
'200': "str"
'200': "str",
}
response_data = self.api_client.call_api(
*_param,
@ -401,8 +400,7 @@ class AuthApi:
)
_response_types_map: Dict[str, Optional[str]] = {
'200': "str"
'200': "str",
}
response_data = self.api_client.call_api(
*_param,
@ -465,8 +463,7 @@ class AuthApi:
)
_response_types_map: Dict[str, Optional[str]] = {
'200': "str"
'200': "str",
}
response_data = self.api_client.call_api(
*_param,

View File

@ -34,7 +34,8 @@ class TestErrorResponsesWithModel400Response(BaseModel):
model_config = {
"populate_by_name": True,
"validate_assignment": True
"validate_assignment": True,
"protected_namespaces": (),
}

View File

@ -34,7 +34,8 @@ class TestErrorResponsesWithModel404Response(BaseModel):
model_config = {
"populate_by_name": True,
"validate_assignment": True
"validate_assignment": True,
"protected_namespaces": (),
}

View File

@ -35,7 +35,8 @@ class TestErrorResponsesWithModel400Response(BaseModel):
model_config = {
"populate_by_name": True,
"validate_assignment": True
"validate_assignment": True,
"protected_namespaces": (),
}

View File

@ -35,7 +35,8 @@ class TestErrorResponsesWithModel404Response(BaseModel):
model_config = {
"populate_by_name": True,
"validate_assignment": True
"validate_assignment": True,
"protected_namespaces": (),
}