forked from loafle/openapi-generator-original
Fix Rust codegen for AnyType (#7461)
This commit is contained in:
parent
985c4b36a7
commit
be151fca64
@ -162,6 +162,7 @@ public class RustClientCodegen extends DefaultCodegen implements CodegenConfig {
|
||||
typeMapping.put("binary", "crate::models::File");
|
||||
typeMapping.put("ByteArray", "String");
|
||||
typeMapping.put("object", "serde_json::Value");
|
||||
typeMapping.put("AnyType", "serde_json::Value");
|
||||
|
||||
// no need for rust
|
||||
//importMapping = new HashMap<String, String>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user