| 程序包 | 说明 |
|---|---|
| org.openapitools.codegen.mustache |
| 类和说明 |
|---|
| CamelCaseLambda
Converts text in a fragment to camelCase.
|
| CaseFormatLambda
Converts text from CaseFormat to another CaseFormat
Register:
additionalProperties.put("convert", new CaseFormatLambda(LOWER_CAMEL, UPPER_UNDERSCORE));
Use:
{{#convert}}{{name}}{{/convert}}
|
| JoinWithCommaLambda
Split text by 2 spaces and then join the strings with ", "
Register:
additionalProperties.put("joinWithComma", new JoinWithCommaLambda());
Use:
{{#joinWithComma}}{{name}}{{/joinWithComma}}
|
| LowercaseLambda
Converts text in a fragment to lowercase.
|
Copyright © 2019. All rights reserved.