From 1c9a002fcf1c28453d65368cad3a21e0d4cfab45 Mon Sep 17 00:00:00 2001 From: Christie Williams Date: Wed, 18 Aug 2021 15:15:32 -0400 Subject: [PATCH] AnyType support for ruby generator --- .../org/openapitools/codegen/languages/AbstractRubyCodegen.java | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractRubyCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractRubyCodegen.java index 040434952c04..1894ba310b91 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractRubyCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractRubyCodegen.java @@ -85,6 +85,7 @@ public AbstractRubyCodegen() { typeMapping.put("List", "Array"); typeMapping.put("map", "Hash"); typeMapping.put("object", "Object"); + typeMapping.put("AnyType", "Object"); typeMapping.put("file", "File"); typeMapping.put("binary", "String"); typeMapping.put("ByteArray", "String");