Class ForwardSlashLambda
- java.lang.Object
-
- org.openapitools.codegen.templating.mustache.ForwardSlashLambda
-
- All Implemented Interfaces:
com.samskivert.mustache.Mustache.Lambda
public class ForwardSlashLambda extends Object implements com.samskivert.mustache.Mustache.Lambda
Replaces backslash with forward slash in the text.Register:
additionalProperties.put("forwardslash", new ForwardSlashLambda());Use:
{{#forwardslash}}{{summary}}{{/forwardslash}}
-
-
Constructor Summary
Constructors Constructor Description ForwardSlashLambda()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(com.samskivert.mustache.Template.Fragment fragment, Writer writer)
-
-
-
Method Detail
-
execute
public void execute(com.samskivert.mustache.Template.Fragment fragment, Writer writer) throws IOException- Specified by:
executein interfacecom.samskivert.mustache.Mustache.Lambda- Throws:
IOException
-
-