[ https://issues.apache.org/jira/browse/GERONIMO-6776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17155413#comment-17155413 ]
Romain Manni-Bucau commented on GERONIMO-6776: ---------------------------------------------- [~areus_fbit] do you want to update the patch (you can do a PR on github ([https://github.com/apache/geronimo-openapi]) - or I can do it as well straight since it is simple > Let specify encoding for generated files > ---------------------------------------- > > Key: GERONIMO-6776 > URL: https://issues.apache.org/jira/browse/GERONIMO-6776 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: geronimo-maven-plugin > Affects Versions: OpenAPI_1.0.12 > Reporter: Antoni Reus > Priority: Trivial > Attachments: encoding.patch > > > Currently the geronimo-openapi-maven-plugin uses a FileWriter to generate the > openapi.json. This defaults to de platform encoding. > > The user should be able to specify an encoding in the plugin configuration: > <encoding>UTF-8</encoding> > or use ${project.build.sourceEncoding} as default encoding, and only if this > is not provided fallback to the platform encoding. > -- This message was sent by Atlassian Jira (v8.3.4#803005)