You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
Description
In the endpoint.handlebar , if the http code is not in the 2xx range, an exception is thrown:
https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/python/endpoint.handlebars#L395
The ApiException implementation only keeps the http message as a plain binary string:
https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/python/exceptions.handlebars#L93
From here on, the model corresponding to the OpenAPI schema of the response in case of a 5xx code for example, is lost.
Is this on purpose? Or maybe I'm doing something wrong ?
Copied from OpenAPITools/openapi-generator#14088
thank you @lsoica