From cf14d26709f84040125a4dfdda9ecd01975823e9 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Mon, 22 Aug 2022 15:05:32 -0400 Subject: [PATCH] Add custom template for license info --- openapi-templates/licenseInfo.mustache | 7 +++++++ openapitools.json | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 openapi-templates/licenseInfo.mustache diff --git a/openapi-templates/licenseInfo.mustache b/openapi-templates/licenseInfo.mustache new file mode 100644 index 00000000..71f9fe94 --- /dev/null +++ b/openapi-templates/licenseInfo.mustache @@ -0,0 +1,7 @@ +/** + * {{{appName}}} + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ diff --git a/openapitools.json b/openapitools.json index 17a405d0..7f768f5b 100644 --- a/openapitools.json +++ b/openapitools.json @@ -16,7 +16,8 @@ "apiPackage": "api", "modelDocs": true, "modelPackage": "models" - } + }, + "templateDir": "openapi-templates" } } }