We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56f3016 commit 48919baCopy full SHA for 48919ba
1 file changed
modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/Swift5ClientCodegen.java
@@ -717,6 +717,11 @@ public boolean isDataTypeBinary(final String dataType) {
717
*/
718
@Override
719
public String toModelName(String name) {
720
+
721
+ if (modelNameMapping.containsKey(name)) {
722
+ return modelNameMapping.get(name);
723
+ }
724
725
// FIXME parameter should not be assigned. Also declare it as "final"
726
name = sanitizeName(name);
727
0 commit comments