Latest commit 3b3f2d2 Jan 20, 2017 @eblis eblis committed with wing328 Options to allow unicode character in identifier names (#4508)
* Added option to allow unicode identifiers in class names, method names etc.
Added option to allow keeping of underscore characters in class names, methods names, etc.

Unicode identifiers are supported by some languages, like Java, but the codegen will remove all non ASCII letters by default. Users might want to separate different parts of names using extended punctuation connector characters, like "_, ‿, ⁀, ⁔, ・, ︳, ︴, ﹍, ﹎, ﹏, _, ・".
Underscores cannot be used to separate different parts of the name as they're removed by default by the codegen, the second option allows underscore characters if the user so desires.
Both options can be used separately if needed, for example one might allow extended punctuation connector characters, but still disallow underscore.

* Added new command line options to all required unit tests.

* Added KEEP_UNDERSCORES and ALLOW_UNICODE_IDENTIFIERS to Bash tests.

* When KEEP_UNDERSCORES is set don't camelize the names, keep the identifier case as is (you probably don't want camel case + snake case, just snake case when KEEP_UNDERSCORES is set).
Added unit tests to verify how the case is computed for various scenarios.

* Reworked pull request to only include changes related to supporting unicode characters in identifiers (removed references to keep underscores).

* These methods and classes can be static again.
Permalink
..
Failed to load latest commit information.
akkascala Issue #3738: introduce the sourceFolder property for all Scala "langu… Sep 11, 2016
android Options to allow unicode character in identifier names (#4508) Jan 20, 2017
aspnetcore [aspnetcore] Deprecating aspnet5 for aspnetcore Oct 17, 2016
asyncscala Issue #3738: introduce the sourceFolder property for all Scala "langu… Sep 11, 2016
bash Options to allow unicode character in identifier names (#4508) Jan 20, 2017
config [maven-plugin] allow for ignore file override (#4597) Jan 19, 2017
csharp Options to allow unicode character in identifier names (#4508) Jan 20, 2017
csharpdotnettwo fix java warnings Jan 15, 2016
dart fix java warnings Jan 15, 2016
flash fixes Jan 18, 2016
go Refactor Boolean properties to boolean. (#4326) Dec 9, 2016
haskellservant Rename Jan 31, 2016
ignore [codegen ignore] normalize path separator for Windows, add *.ext tests ( Jan 3, 2017
inflector fix tests Jun 20, 2016
java minor fix to java client options test Dec 15, 2016
javascript Options to allow unicode character in identifier names (#4508) Jan 20, 2017
jaxrs [Jaxrs-Resteasy] Add beanvalidation annotations (#4506) Jan 19, 2017
languages Vendor Mime-type support in retrofit2 Oct 19, 2016
lumen [PHP] add AbstractPhpCodegen to be as the base class of PHP-related g… Aug 1, 2016
nodejs Introduce NodeJS codegen for Google Cloud Functions. (#4406) Dec 22, 2016
objc Refactor Boolean properties to boolean. (#4326) Dec 9, 2016
options Options to allow unicode character in identifier names (#4508) Jan 20, 2017
perl fix java warnings Jan 15, 2016
php Refactor Boolean properties to boolean. (#4326) Dec 9, 2016
python Refactor Boolean properties to boolean. (#4326) Dec 9, 2016
qtfivecpp fix java warnings Jan 15, 2016
ruby [maven-plugin] allow for ignore file override (#4597) Jan 19, 2017
scala Refactor Boolean properties to boolean. (#4326) Dec 9, 2016
scalatra Issue #3738: introduce the sourceFolder property for all Scala "langu… Sep 11, 2016
silex fix java warnings Jan 15, 2016
sinatra fix java warnings Jan 15, 2016
slim fix java warnings Jan 15, 2016
spring Allows for generation of spring controller code using the delegate pa… Jan 19, 2017
staticDocs fix java warnings Jan 15, 2016
statichtml fix double byte characters in description, upgrade to lang3 May 6, 2016
swagger fix java warnings Jan 15, 2016
swaggeryaml fix java warnings Jan 15, 2016
swift Refactor Boolean properties to boolean. (#4326) Dec 9, 2016
swift3 fix(swift3): lowercase enum value before checking reserved words (#4357) Dec 20, 2016
testutils Various code cleanups (#3709) Sep 7, 2016
tizen fix java warnings Jan 15, 2016
typescript Refactor Boolean properties to boolean. (#4326) Dec 9, 2016
AbstractIntegrationTest.java skip integration test May 19, 2016
AbstractOptionsTest.java fixes Jan 18, 2016
ClientAuthInputTest.java fixes Jan 18, 2016
CodegenConfigLoaderTest.java fixes Jan 18, 2016
CodegenTest.java Options to allow unicode character in identifier names (#4508) Jan 20, 2017
DefaultGeneratorTest.java change java default lib to okhttp-gson Jul 7, 2016
ExampleGeneratorTest.java fixes Jan 18, 2016
InlineModelResolverTest.java Make InlineModelResolver resolve vendorExtensions correctly for Schem… Sep 12, 2016
SwaggerMigratorTest.java fixes Jan 18, 2016