We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Erlang-client generator does not apply --name-mappings which are e.g. necessary to work around a field called _.
--name-mappings
_
0e05cf2
openapi: '3.0.0' info: version: 1.0.0 title: test paths: /test: get: summary: sample responses: '200': description: OK content: application/json: schema: type: object properties: _: type: string
java -jar /home/val/.m2/repository/org/openapitools/openapi-generator-cli/7.6.0-SNAPSHOT/openapi-generator-cli-7.6.0-SNAPSHOT.jar generate -i spec.yaml -o erl/ -g erlang-client --name-mappings _=underscore
generate, see this:
-export_type([openapi__test_get_200_response/0]). -type openapi__test_get_200_response() :: #{ '_' => binary() }. encode(#{ '_' := }) -> #{ '_' => }.
#18661 for Elixir
…
The text was updated successfully, but these errors were encountered:
[erlang-client] Apply var/param name mappings (OpenAPITools#18662)
4d1f385
Fixes OpenAPITools#18662
[erlang-client] Apply var/param name mappings (#18662) (#18859)
0621d34
Fixes #18662
[erlang-client] Apply var/param name mappings (OpenAPITools#18662) (O…
66261e5
…penAPITools#18859) Fixes OpenAPITools#18662
Successfully merging a pull request may close this issue.
Description
The Erlang-client generator does not apply
--name-mappings
which are e.g. necessary to work around a field called_
.openapi-generator version
0e05cf2
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
generate, see this:
Related issues/PRs
#18661 for Elixir
Suggest a fix
…
The text was updated successfully, but these errors were encountered: