diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/CopyLambda.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/CopyLambda.java index f3e5fe8138a5..f1e4868c59b7 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/CopyLambda.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/CopyLambda.java @@ -27,12 +27,12 @@ * * Register: *
- * additionalProperties.put("save", new SaveLambda());
+ * additionalProperties.put("copy", new CopyLambda());
  * 
* * Use: *
- * {{#save}}{{name}}{{/save}}
+ * {{#copy}}{{name}}{{/copy}}
  * 
*/ public class CopyLambda implements Mustache.Lambda { diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/PasteLambda.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/PasteLambda.java index 8a78457176d3..ea798d9dc3c3 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/PasteLambda.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/templating/mustache/PasteLambda.java @@ -27,12 +27,12 @@ * * Register: *
- * additionalProperties.put("write", new WriteLambda());
+ * additionalProperties.put("paste", new PasteLambda(copyLambda, true, true, true, false));
  * 
* * Use: *
- * {{#write}}{{name}}{{/write}}
+ * {{#paste}}{{/paste}}
  * 
*/ public class PasteLambda implements Mustache.Lambda {