You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discovered by @TiFu TS generators do not have a consistent mapping for file at the moment:
The issue you noticed is caused by the typemapping from file => Buffer. This mapping was added to TypeScriptNodeCodegen.java almost a year ago. Somehow the ts node tests still contain the previous any type mapping defined in AbstractTypeScriptCodegen.java.
Another thing I noticed is, that TypeScriptNodeCodegen uses typeMapping.put("file", "Buffer");, whereas AbstratcTypeScriptCodegen uses typeMapping.put("File", "any"); (note the capitalization of file)
Description
As discovered by @TiFu TS generators do not have a consistent mapping for
file
at the moment:Ref: #4264 (comment)
Swagger-codegen version
2.3.0
Related issues
#4264 (comment)
Suggest a Fix
We'll need to review and fix the mapping for
file
cc @Vrolijkx
The text was updated successfully, but these errors were encountered: