Open victormartinezjurado opened 4 years ago
Can confirm.
I can also confirm, error with the following : internal
; external
and data
, I have to use another plugin to replace this because this maven configuration is not working.
Hi, I am facing the same problem with Gradle. Any updates? Edit: The CLI flag and config attribute for reservedWordsMappings seems to be ignored as well.
Any updates?
I think you can just use nameMappings
to get the same effect
<nameMappings>external=external2,data=_data,internal=_internal</nameMappings>
Bug Report Checklist
Description
When using openapi-generator maven plugin the option reservedWordsMappings is not working for Kotlin
openapi-generator version
4.3.1
OpenAPI declaration file content or url
Steps to reproduce
1- Configure the openapi-generator-maven-plugin as describe below :
2- run
mvn clean package
3- Verify that the autogenerated kotlin code does not compile. Reserved keyword external hasn't been substitute