OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
With a field that's named _ (single underscore), the Haskell http-client generator generates a name collision due to stripping underscores without considering this:
Description
With a field that's named
_
(single underscore), the Haskell http-client generator generates a name collision due to stripping underscores without considering this:And
name-mappings
don't apply so that workaround is not available.openapi-generator version
989a79811a5cae2b10e07e6c4d5261af3da1e39d
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Try the spec from above.
Related issues/PRs
Suggest a fix
Will look into it myself