petstore_api.FakeApi
All URIs are relative to http://petstore.swagger.io:80/v2
additional_properties_with_array_of_enums
AdditionalPropertiesWithArrayOfEnums additional_properties_with_array_of_enums()
Additional Properties with Array of Enums
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson, Unset] |
optional, default is unset |
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
Got object with additional properties with array of enums |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
AdditionalPropertiesWithArrayOfEnums
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
array_model
AnimalFarm array_model()
Test serialization of ArrayModel
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson, Unset] |
optional, default is unset |
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
Output model |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
AnimalFarm
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
array_of_enums
ArrayOfEnums array_of_enums()
Array of Enums
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson, Unset] |
optional, default is unset |
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
Got named array of enums |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
ArrayOfEnums
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
body_with_file_schema
body_with_file_schema(file_schema_test_class)
For this test, the body for this request much reference a schema named File.
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson] |
required |
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
Success |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
void (empty response body)
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
body_with_query_params
body_with_query_params(queryuser)
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson] |
required |
|
| query_params |
RequestQueryParams |
|
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
| Type |
Description |
Notes |
| User |
|
|
query_params
RequestQueryParams
| Name |
Type |
Description |
Notes |
| query |
QuerySchema |
|
|
QuerySchema
| Type |
Description |
Notes |
| str |
|
|
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
Success |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
void (empty response body)
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
boolean
bool boolean()
Test serialization of outer boolean types
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson, Unset] |
optional, default is unset |
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
| Type |
Description |
Notes |
| bool |
|
|
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
Output boolean |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
| Type |
Description |
Notes |
| bool |
|
|
bool
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
case_sensitive_params
case_sensitive_params(some_varsome_var2some_var3)
Ensures that original naming is used in endpoint params, that way we on't have collisions
Example
Parameters
| Name |
Type |
Description |
Notes |
| query_params |
RequestQueryParams |
|
|
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
query_params
RequestQueryParams
| Name |
Type |
Description |
Notes |
| someVar |
SomeVarSchema |
|
|
| SomeVar |
SomeVarSchema |
|
|
| some_var |
SomeVarSchema |
|
|
SomeVarSchema
| Type |
Description |
Notes |
| str |
|
|
SomeVarSchema
| Type |
Description |
Notes |
| str |
|
|
SomeVarSchema
| Type |
Description |
Notes |
| str |
|
|
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
Success |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
void (empty response body)
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
client_model
Client client_model(client)
To test "client" model
To test "client" model
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson] |
required |
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
successful operation |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
Client
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
composed_one_of_different_types
ComposedOneOfDifferentTypes composed_one_of_different_types()
Test serialization of object with $refed properties
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson, Unset] |
optional, default is unset |
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
Output model |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
ComposedOneOfDifferentTypes
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_coffee
delete_coffee(id)
Delete coffee
Delete the coffee identified by the given id, (delete without request body)
Example
Parameters
| Name |
Type |
Description |
Notes |
| path_params |
RequestPathParams |
|
|
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
path_params
RequestPathParams
| Name |
Type |
Description |
Notes |
| id |
IdSchema |
|
|
IdSchema
| Type |
Description |
Notes |
| str |
|
|
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
OK |
| default |
ApiResponseForDefault |
Unexpected error |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
ApiResponseForDefault
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
void (empty response body)
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
endpoint_parameters
endpoint_parameters()
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
Example
- Basic Authentication (http_basic_test):
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationXWwwFormUrlencoded, Unset] |
optional, default is unset |
|
| content_type |
str |
optional, default is 'application/x-www-form-urlencoded' |
Selects the schema and serialization of the request body |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationXWwwFormUrlencoded
Properties
| Name |
Type |
Description |
Notes |
| integer |
int |
None |
[optional] |
| int32 |
int |
None |
[optional] |
| int64 |
int |
None |
[optional] |
| number |
int, float |
None |
|
| float |
int, float |
None |
[optional] |
| double |
int, float |
None |
|
| string |
str |
None |
[optional] |
| pattern_without_delimiter |
str |
None |
|
| byte |
str |
None |
|
| binary |
file_type |
None |
[optional] |
| date |
date |
None |
[optional] |
| dateTime |
datetime |
None |
[optional] if omitted the server will use the default value of 2010-02-01T10:20:10.11111+01:00 |
| password |
str |
None |
[optional] |
| callback |
str |
None |
[optional] |
| any string name |
bool, date, datetime, dict, float, int, list, str, none_type |
any string name can be used but the value must be the correct type |
[optional] |
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 400 |
ApiResponseFor400 |
Invalid username supplied |
| 404 |
ApiResponseFor404 |
User not found |
ApiResponseFor400
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
ApiResponseFor404
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
void (empty response body)
Authorization
http_basic_test
[Back to top] [Back to API list] [Back to Model list] [Back to README]
enum_parameters
enum_parameters()
To test enum parameters
To test enum parameters
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationXWwwFormUrlencoded, Unset] |
optional, default is unset |
|
| query_params |
RequestQueryParams |
|
|
| header_params |
RequestHeaderParams |
|
|
| content_type |
str |
optional, default is 'application/x-www-form-urlencoded' |
Selects the schema and serialization of the request body |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationXWwwFormUrlencoded
Properties
| Name |
Type |
Description |
Notes |
| enum_form_string_array |
[str] |
Form parameter enum test (string array) |
[optional] |
| enum_form_string |
str |
Form parameter enum test (string) |
[optional] if omitted the server will use the default value of "-efg" |
| any string name |
bool, date, datetime, dict, float, int, list, str, none_type |
any string name can be used but the value must be the correct type |
[optional] |
query_params
RequestQueryParams
| Name |
Type |
Description |
Notes |
| enum_query_string_array |
EnumQueryStringArraySchema |
|
optional |
| enum_query_string |
EnumQueryStringSchema |
|
optional |
| enum_query_integer |
EnumQueryIntegerSchema |
|
optional |
| enum_query_double |
EnumQueryDoubleSchema |
|
optional |
EnumQueryStringArraySchema
| Type |
Description |
Notes |
| [str] |
|
|
EnumQueryStringSchema
| Type |
Description |
Notes |
| str |
|
defaults to "-efg", must be one of ["_abc", "-efg", "(xyz)", ] |
EnumQueryIntegerSchema
| Type |
Description |
Notes |
| int |
|
must be one of [1, -2, ] |
EnumQueryDoubleSchema
| Type |
Description |
Notes |
| int, float |
|
must be one of [1.1, -1.2, ] |
| Name |
Type |
Description |
Notes |
| enum_header_string_array |
EnumHeaderStringArraySchema |
|
optional |
| enum_header_string |
EnumHeaderStringSchema |
|
optional |
| Type |
Description |
Notes |
| [str] |
|
|
| Type |
Description |
Notes |
| str |
|
defaults to "-efg", must be one of ["_abc", "-efg", "(xyz)", ] |
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 400 |
ApiResponseFor400 |
Invalid request |
| 404 |
ApiResponseFor404 |
Not found |
ApiResponseFor400
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
ApiResponseFor404
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
void (empty response body)
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fake_health_get
HealthCheckResult fake_health_get()
Health check endpoint
Example
Parameters
This endpoint does not need any parameter.
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
The instance started successfully |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
HealthCheckResult
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
group_parameters
group_parameters(required_string_grouprequired_boolean_grouprequired_int64_group)
Fake endpoint to test group parameters (optional)
Fake endpoint to test group parameters (optional)
Example
- Bearer (JWT) Authentication (bearer_test):
Parameters
| Name |
Type |
Description |
Notes |
| query_params |
RequestQueryParams |
|
|
| header_params |
RequestHeaderParams |
|
|
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
query_params
RequestQueryParams
| Name |
Type |
Description |
Notes |
| required_string_group |
RequiredStringGroupSchema |
|
|
| required_int64_group |
RequiredInt64GroupSchema |
|
|
| string_group |
StringGroupSchema |
|
optional |
| int64_group |
Int64GroupSchema |
|
optional |
RequiredStringGroupSchema
| Type |
Description |
Notes |
| int |
|
|
RequiredInt64GroupSchema
| Type |
Description |
Notes |
| int |
|
|
StringGroupSchema
| Type |
Description |
Notes |
| int |
|
|
Int64GroupSchema
| Type |
Description |
Notes |
| int |
|
|
| Name |
Type |
Description |
Notes |
| required_boolean_group |
RequiredBooleanGroupSchema |
|
|
| boolean_group |
BooleanGroupSchema |
|
optional |
RequiredBooleanGroupSchema
| Type |
Description |
Notes |
| bool |
|
|
BooleanGroupSchema
| Type |
Description |
Notes |
| bool |
|
|
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 400 |
ApiResponseFor400 |
Someting wrong |
ApiResponseFor400
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
void (empty response body)
Authorization
bearer_test
[Back to top] [Back to API list] [Back to Model list] [Back to README]
inline_additional_properties
inline_additional_properties(request_body)
test inline additionalProperties
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson] |
required |
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
Properties
| Name |
Type |
Description |
Notes |
| any string name |
str |
any string name can be used but the value must be the correct type |
[optional] |
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
successful operation |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
void (empty response body)
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
inline_composition
bool, date, datetime, dict, float, int, list, str, none_type inline_composition()
testing composed schemas at inline locations
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson, SchemaForRequestBodyMultipartFormData, Unset] |
optional, default is unset |
|
| query_params |
RequestQueryParams |
|
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', 'multipart/form-data', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
Properties
| Name |
Type |
Description |
Notes |
| any string name |
bool, date, datetime, dict, float, int, list, str, none_type |
any string name can be used but the value must be the correct type |
[optional] |
SchemaForRequestBodyMultipartFormData
Properties
| Name |
Type |
Description |
Notes |
| someProp |
bool, date, datetime, dict, float, int, list, str, none_type |
|
[optional] |
| any string name |
bool, date, datetime, dict, float, int, list, str, none_type |
any string name can be used but the value must be the correct type |
[optional] |
query_params
RequestQueryParams
| Name |
Type |
Description |
Notes |
| compositionAtRoot |
CompositionAtRootSchema |
|
optional |
| compositionInProperty |
CompositionInPropertySchema |
|
optional |
CompositionAtRootSchema
Properties
| Name |
Type |
Description |
Notes |
| any string name |
bool, date, datetime, dict, float, int, list, str, none_type |
any string name can be used but the value must be the correct type |
[optional] |
CompositionInPropertySchema
Properties
| Name |
Type |
Description |
Notes |
| someProp |
bool, date, datetime, dict, float, int, list, str, none_type |
|
[optional] |
| any string name |
bool, date, datetime, dict, float, int, list, str, none_type |
any string name can be used but the value must be the correct type |
[optional] |
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
success |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, SchemaFor200ResponseBodyMultipartFormData, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
Properties
| Name |
Type |
Description |
Notes |
| any string name |
bool, date, datetime, dict, float, int, list, str, none_type |
any string name can be used but the value must be the correct type |
[optional] |
SchemaFor200ResponseBodyMultipartFormData
Properties
| Name |
Type |
Description |
Notes |
| someProp |
bool, date, datetime, dict, float, int, list, str, none_type |
|
[optional] |
| any string name |
bool, date, datetime, dict, float, int, list, str, none_type |
any string name can be used but the value must be the correct type |
[optional] |
bool, date, datetime, dict, float, int, list, str, none_type
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
json_form_data
json_form_data()
test json serialization of form data
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationXWwwFormUrlencoded, Unset] |
optional, default is unset |
|
| content_type |
str |
optional, default is 'application/x-www-form-urlencoded' |
Selects the schema and serialization of the request body |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationXWwwFormUrlencoded
Properties
| Name |
Type |
Description |
Notes |
| param |
str |
field1 |
|
| param2 |
str |
field2 |
|
| any string name |
bool, date, datetime, dict, float, int, list, str, none_type |
any string name can be used but the value must be the correct type |
[optional] |
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
successful operation |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
void (empty response body)
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
json_with_charset
bool, date, datetime, dict, float, int, list, str, none_type json_with_charset()
json with charset tx and rx
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJsonCharsetutf8, Unset] |
optional, default is unset |
|
| content_type |
str |
optional, default is 'application/json; charset=utf-8' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json; charset=utf-8', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJsonCharsetutf8
| Type |
Description |
Notes |
| typing.Union[dict, frozendict, str, date, datetime, int, float, bool, Decimal, None, list, tuple, bytes] |
|
|
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
success |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJsonCharsetutf8, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJsonCharsetutf8
| Type |
Description |
Notes |
| typing.Union[dict, frozendict, str, date, datetime, int, float, bool, Decimal, None, list, tuple, bytes] |
|
|
bool, date, datetime, dict, float, int, list, str, none_type
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
mammal
Mammal mammal(mammal)
Test serialization of mammals
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson] |
required |
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
Output mammal |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
Mammal
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
number_with_validations
NumberWithValidations number_with_validations()
Test serialization of outer number types
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson, Unset] |
optional, default is unset |
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
Output number |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
NumberWithValidations
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object_in_query
object_in_query()
user list
Example
Parameters
| Name |
Type |
Description |
Notes |
| query_params |
RequestQueryParams |
|
|
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
query_params
RequestQueryParams
| Name |
Type |
Description |
Notes |
| mapBean |
MapBeanSchema |
|
optional |
MapBeanSchema
Properties
| Name |
Type |
Description |
Notes |
| keyword |
str |
|
[optional] |
| any string name |
bool, date, datetime, dict, float, int, list, str, none_type |
any string name can be used but the value must be the correct type |
[optional] |
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
ok |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
void (empty response body)
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object_model_with_ref_props
ObjectModelWithRefProps object_model_with_ref_props()
Test serialization of object with $refed properties
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson, Unset] |
optional, default is unset |
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
Output model |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
ObjectModelWithRefProps
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
parameter_collisions
bool, date, datetime, dict, float, int, list, str, none_type parameter_collisions(_3a_b5ab2_self3a_b6)
parameter collision case
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson, Unset] |
optional, default is unset |
|
| query_params |
RequestQueryParams |
|
|
| header_params |
RequestHeaderParams |
|
|
| path_params |
RequestPathParams |
|
|
| cookie_params |
RequestCookieParams |
|
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
| Type |
Description |
Notes |
| typing.Union[dict, frozendict, str, date, datetime, int, float, bool, Decimal, None, list, tuple, bytes] |
|
|
query_params
RequestQueryParams
| Name |
Type |
Description |
Notes |
| 1 |
Model1Schema |
|
optional |
| aB |
ABSchema |
|
optional |
| Ab |
AbSchema |
|
optional |
| self |
ModelSelfSchema |
|
optional |
| A-B |
ABSchema |
|
optional |
Model1Schema
| Type |
Description |
Notes |
| str |
|
|
ABSchema
| Type |
Description |
Notes |
| str |
|
|
AbSchema
| Type |
Description |
Notes |
| str |
|
|
ModelSelfSchema
| Type |
Description |
Notes |
| str |
|
|
ABSchema
| Type |
Description |
Notes |
| str |
|
|
| Name |
Type |
Description |
Notes |
| 1 |
Model1Schema |
|
optional |
| aB |
ABSchema |
|
optional |
| self |
ModelSelfSchema |
|
optional |
| A-B |
ABSchema |
|
optional |
Model1Schema
| Type |
Description |
Notes |
| str |
|
|
ABSchema
| Type |
Description |
Notes |
| str |
|
|
ModelSelfSchema
| Type |
Description |
Notes |
| str |
|
|
ABSchema
| Type |
Description |
Notes |
| str |
|
|
path_params
RequestPathParams
| Name |
Type |
Description |
Notes |
| 1 |
Model1Schema |
|
|
| aB |
ABSchema |
|
|
| Ab |
AbSchema |
|
|
| self |
ModelSelfSchema |
|
|
| A-B |
ABSchema |
|
|
Model1Schema
| Type |
Description |
Notes |
| str |
|
|
ABSchema
| Type |
Description |
Notes |
| str |
|
|
AbSchema
| Type |
Description |
Notes |
| str |
|
|
ModelSelfSchema
| Type |
Description |
Notes |
| str |
|
|
ABSchema
| Type |
Description |
Notes |
| str |
|
|
cookie_params
RequestCookieParams
| Name |
Type |
Description |
Notes |
| 1 |
Model1Schema |
|
optional |
| aB |
ABSchema |
|
optional |
| Ab |
AbSchema |
|
optional |
| self |
ModelSelfSchema |
|
optional |
| A-B |
ABSchema |
|
optional |
Model1Schema
| Type |
Description |
Notes |
| str |
|
|
ABSchema
| Type |
Description |
Notes |
| str |
|
|
AbSchema
| Type |
Description |
Notes |
| str |
|
|
ModelSelfSchema
| Type |
Description |
Notes |
| str |
|
|
ABSchema
| Type |
Description |
Notes |
| str |
|
|
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
success |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
| Type |
Description |
Notes |
| typing.Union[dict, frozendict, str, date, datetime, int, float, bool, Decimal, None, list, tuple, bytes] |
|
|
bool, date, datetime, dict, float, int, list, str, none_type
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
query_parameter_collection_format
query_parameter_collection_format(pipeioutilhttpurlcontextref_param)
To test the collection format in query parameters
Example
Parameters
| Name |
Type |
Description |
Notes |
| query_params |
RequestQueryParams |
|
|
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
query_params
RequestQueryParams
| Name |
Type |
Description |
Notes |
| pipe |
PipeSchema |
|
|
| ioutil |
IoutilSchema |
|
|
| http |
HttpSchema |
|
|
| url |
UrlSchema |
|
|
| context |
ContextSchema |
|
|
| refParam |
RefParamSchema |
|
|
PipeSchema
| Type |
Description |
Notes |
| [str] |
|
|
IoutilSchema
| Type |
Description |
Notes |
| [str] |
|
|
HttpSchema
| Type |
Description |
Notes |
| [str] |
|
|
UrlSchema
| Type |
Description |
Notes |
| [str] |
|
|
ContextSchema
| Type |
Description |
Notes |
| [str] |
|
|
RefParamSchema
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
Success |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
void (empty response body)
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ref_object_in_query
ref_object_in_query()
user list
Example
Parameters
| Name |
Type |
Description |
Notes |
| query_params |
RequestQueryParams |
|
|
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
query_params
RequestQueryParams
| Name |
Type |
Description |
Notes |
| mapBean |
MapBeanSchema |
|
optional |
MapBeanSchema
| Type |
Description |
Notes |
| Foo |
|
|
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
ok |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
Unset |
body was not defined |
|
| headers |
Unset |
headers were not defined |
|
void (empty response body)
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
response_without_schema
response_without_schema()
receives a response without schema
Example
Parameters
This endpoint does not need any parameter.
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
contents without schema definition |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[Unset, Unset, ] |
|
|
| headers |
Unset |
headers were not defined |
|
void (empty response body)
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string
str string()
Test serialization of outer string types
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson, Unset] |
optional, default is unset |
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
| Type |
Description |
Notes |
| str |
|
|
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
Output string |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
| Type |
Description |
Notes |
| str |
|
|
str
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string_enum
StringEnum string_enum()
Test serialization of outer enum
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationJson, Unset] |
optional, default is unset |
|
| content_type |
str |
optional, default is 'application/json' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationJson
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
Output enum |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
StringEnum
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
upload_download_file
file_type upload_download_file(body)
uploads a file and downloads a file using application/octet-stream
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyApplicationOctetStream] |
required |
|
| content_type |
str |
optional, default is 'application/octet-stream' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/octet-stream', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyApplicationOctetStream
file to upload
| Type |
Description |
Notes |
| file_type |
file to upload |
|
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
successful operation |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationOctetStream, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationOctetStream
file to download
| Type |
Description |
Notes |
| file_type |
file to download |
|
file_type
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
upload_file
ApiResponse upload_file()
uploads a file using multipart/form-data
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyMultipartFormData, Unset] |
optional, default is unset |
|
| content_type |
str |
optional, default is 'multipart/form-data' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyMultipartFormData
Properties
| Name |
Type |
Description |
Notes |
| additionalMetadata |
str |
Additional data to pass to server |
[optional] |
| file |
file_type |
file to upload |
|
| any string name |
bool, date, datetime, dict, float, int, list, str, none_type |
any string name can be used but the value must be the correct type |
[optional] |
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
successful operation |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
ApiResponse
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]
upload_files
ApiResponse upload_files()
uploads files using multipart/form-data
Example
Parameters
| Name |
Type |
Description |
Notes |
| body |
typing.Union[SchemaForRequestBodyMultipartFormData, Unset] |
optional, default is unset |
|
| content_type |
str |
optional, default is 'multipart/form-data' |
Selects the schema and serialization of the request body |
| accept_content_types |
typing.Tuple[str] |
default is ('application/json', ) |
Tells the server the content type(s) that are accepted by the client |
| stream |
bool |
default is False |
if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file |
| timeout |
typing.Optional[typing.Union[int, typing.Tuple]] |
default is None |
the timeout used by the rest client |
| skip_deserialization |
bool |
default is False |
when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned |
body
SchemaForRequestBodyMultipartFormData
Properties
| Name |
Type |
Description |
Notes |
| files |
[file_type] |
|
[optional] |
| any string name |
bool, date, datetime, dict, float, int, list, str, none_type |
any string name can be used but the value must be the correct type |
[optional] |
Return Types, Responses
| Code |
Class |
Description |
| n/a |
api_client.ApiResponseWithoutDeserialization |
When skip_deserialization is True this response is returned |
| 200 |
ApiResponseFor200 |
successful operation |
ApiResponseFor200
| Name |
Type |
Description |
Notes |
| response |
urllib3.HTTPResponse |
Raw response |
|
| body |
typing.Union[SchemaFor200ResponseBodyApplicationJson, ] |
|
|
| headers |
Unset |
headers were not defined |
|
SchemaFor200ResponseBodyApplicationJson
ApiResponse
Authorization
No authorization required
[Back to top] [Back to API list] [Back to Model list] [Back to README]