Feature/mustache lambda documentation (#3476)

* Default outputFile value is `openapi/openapi.yaml`.

* Mustache Lambdas documentation.

* Default OpenAPIYamlGenerator outputFile value is `openapi/openapi.yaml`.
This commit is contained in:
Michal Foksa
2019-07-29 15:34:50 +02:00
committed by Esteban Gehring
parent c684505cba
commit 37cdc8e493
3 changed files with 58 additions and 43 deletions

View File

@@ -42,7 +42,7 @@ public class OpenAPIYamlGenerator extends DefaultCodegen implements CodegenConfi
super();
embeddedTemplateDir = templateDir = "openapi-yaml";
outputFolder = "generated-code/openapi-yaml";
cliOptions.add(new CliOption(OUTPUT_NAME, "output filename"));
cliOptions.add(CliOption.newString(OUTPUT_NAME, "Output filename").defaultValue(outputFile));
supportingFiles.add(new SupportingFile("README.md", "", "README.md"));
}