mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 18:45:23 +00:00
FIX: remove special quotation marks from filename generation. (#1157)
* remove left|right point double angle quotation marks * move to DefaultCodeGen and update TypeScriptAngularClientCodegen to reflect new clean function so that the filename AND imports are added correctly * rename to a more accurate name :) * shippable fixes * shippable javadoc fix * replaced cleanModelFilename with sanitzeName * remove DefaultCodegen changes
This commit is contained in:
parent
55f26d31d3
commit
3e3b03f93b
@ -4702,5 +4702,6 @@ public class DefaultCodegen implements CodegenConfig {
|
||||
*/
|
||||
public void postProcessFile(File file, String fileType) {
|
||||
LOGGER.debug("Post processing file {} ({})", file, fileType);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -472,7 +472,7 @@ public class TypeScriptAngularClientCodegen extends AbstractTypeScriptClientCode
|
||||
|
||||
@Override
|
||||
public String toModelFilename(String name) {
|
||||
return this.convertUsingFileNamingConvention(name) + modelFileSuffix;
|
||||
return this.sanitizeName(this.convertUsingFileNamingConvention(name) + modelFileSuffix);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user