Class RequiredParameterLambda
- java.lang.Object
-
- org.openapitools.codegen.templating.mustache.RequiredParameterLambda
-
- All Implemented Interfaces:
com.samskivert.mustache.Mustache.Lambda
public class RequiredParameterLambda extends Object implements com.samskivert.mustache.Mustache.Lambda
Strips trailing ? from a text fragmentRegister:
additionalProperties.put("required", new RequiredParameterLambda());
Use:
{{#lambda.required}}{{name}}{{/lambda.required}}
-
-
Constructor Summary
Constructors Constructor Description RequiredParameterLambda()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(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:
execute
in interfacecom.samskivert.mustache.Mustache.Lambda
- Throws:
IOException
-
-