forked from loafle/openapi-generator-original
Add missing AnyType type mapping (#6196)
Without the AnyType type mapping, the generated dart code uses `AnyType` instead of `Object`, which does not compile.
This commit is contained in:
parent
7800dbe35a
commit
5f2270a0e8
@ -89,6 +89,7 @@ public class DartDioClientCodegen extends DartClientCodegen {
|
||||
|
||||
typeMapping.put("file", "Uint8List");
|
||||
typeMapping.put("binary", "Uint8List");
|
||||
typeMapping.put("AnyType", "Object");
|
||||
|
||||
importMapping.put("BuiltList", "package:built_collection/built_collection.dart");
|
||||
importMapping.put("BuiltMap", "package:built_collection/built_collection.dart");
|
||||
|
Loading…
x
Reference in New Issue
Block a user