From a8fbcb0db2f231efa0b370d067b2b0d5a2fc5455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Herv=C3=A9?= Date: Mon, 30 Nov 2020 14:48:51 +0100 Subject: [PATCH] Properly generate email examples (#8035) Those are not primitive types, but not model either, they need to be handled explicitely. --- .../codegen/languages/GoClientCodegen.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/GoClientCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/GoClientCodegen.java index d6cc72383f76..f91fa0f9a9aa 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/GoClientCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/GoClientCodegen.java @@ -510,6 +510,12 @@ private String constructExampleCode(CodegenParameter codegenParameter, HashMap