OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
[ ] Have you provided a full/minimal spec to reproduce the issue?
[ ] Have you validated the input using an OpenAPI validator (example)?
[ ] What's the version of OpenAPI Generator used?
[ ] Have you search for related issues/PRs?
[ ] What's the actual output vs expected output?
[ ] [Optional] Bounty to sponsor the fix (example)
Description
UPPERCASE value was handled by most of scala templates with do not modify option, but behaviour was different for akka template where output was uPPERCASE
This behaviour become generic and UPPERCASE variables skipped for formatting rules
Bug Report Checklist
Description
UPPERCASE value was handled by most of scala templates with do not modify option, but behaviour was different for
akka
template where output wasuPPERCASE
This behaviour become generic and UPPERCASE variables skipped for formatting rules
https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractScalaCodegen.java#L172
But regarding to https://docs.scala-lang.org/style/naming-conventions.html only camelCase allowed.
Correct way is to convert
UPPERCASE
intolowercase
and keep naming convention in AbstractScala common to all Scala based templatesopenapi-generator version
4.3.0-SNAPSHOT
Related issues/PRs