mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-08 08:30:56 +00:00
[Go] fixing code gen not recognizing 'object' type issue
This commit is contained in:
parent
bef5c74da7
commit
be0233c609
@ -100,6 +100,7 @@ public class GoClientCodegen extends DefaultCodegen implements CodegenConfig {
|
||||
// the correct solution is to use []byte
|
||||
typeMapping.put("binary", "string");
|
||||
typeMapping.put("ByteArray", "string");
|
||||
typeMapping.put("object", "interface{}");
|
||||
|
||||
importMapping = new HashMap<String, String>();
|
||||
importMapping.put("time.Time", "time");
|
||||
|
Loading…
x
Reference in New Issue
Block a user