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
This looks to be in the original mustache file in the swagger repo. Minimially those branches should be not generated if it is expected that they will be handled by other code. I'm not sure how this is affected by wildcards.
The text was updated successfully, but these errors were encountered:
Description
When reviewing client go code generated with this tool, we noticed that for status code responses < 300 the client generates unreachable code paths
openapi-generator version
4.2.2 pulled from maven
OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
Run tool as above.
snippet from api_xxx.go
Suggest a fix
This looks to be in the original mustache file in the swagger repo. Minimially those branches should be not generated if it is expected that they will be handled by other code. I'm not sure how this is affected by wildcards.
The text was updated successfully, but these errors were encountered: