Closed ziodave closed 5 days ago
At the moment, it is not possible but to use bytes to pass raw data to the client
bytes
https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/python/asyncio/rest.mustache#L183
This conflicts with definitions that are string and represented as StrictStr in model.
string
StrictStr
Same solution as in the sample here: https://github.com/OpenAPITools/openapi-generator/blob/a4d43a83769fd71c0a2db79e8dc04af9699bd1fc/samples/client/echo_api/python/openapi_client/rest.py#L220
closed via https://github.com/OpenAPITools/openapi-generator/pull/18985
Is your feature request related to a problem? Please describe.
At the moment, it is not possible but to use
bytes
to pass raw data to the clienthttps://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/python/asyncio/rest.mustache#L183
This conflicts with definitions that are
string
and represented asStrictStr
in model.Describe the solution you'd like
Same solution as in the sample here: https://github.com/OpenAPITools/openapi-generator/blob/a4d43a83769fd71c0a2db79e8dc04af9699bd1fc/samples/client/echo_api/python/openapi_client/rest.py#L220