diff --git a/src/sdk-auto-generate-dotnet/index.ts b/src/sdk-auto-generate-dotnet/index.ts index 983d541..ddf3735 100644 --- a/src/sdk-auto-generate-dotnet/index.ts +++ b/src/sdk-auto-generate-dotnet/index.ts @@ -32,6 +32,13 @@ class SdkAutoGenerateDotnetGenerator extends BaseDotnetTemplateGenerator { name: 'name', message: 'Project name', default: `Wemogy.${toPascalCase(this.appname)}.Sdk.Public` + }, + { + type: 'input', + name: 'description', + message: + 'Specifies a AssemblyDescription for the .NET Framework global assembly attributes stored in the AssemblyInfo file.', + default: '' } ]); } @@ -50,7 +57,8 @@ class SdkAutoGenerateDotnetGenerator extends BaseDotnetTemplateGenerator { this.answers.webservice, this.answers.swagger, this.answers.targetDirectory, - this.answers.name + this.answers.name, + this.answers.description ], { shell: true diff --git a/src/sdk-auto-generate-dotnet/templates/script.sh b/src/sdk-auto-generate-dotnet/templates/script.sh index 4b2e3ce..24b3c04 100644 --- a/src/sdk-auto-generate-dotnet/templates/script.sh +++ b/src/sdk-auto-generate-dotnet/templates/script.sh @@ -5,6 +5,7 @@ webservice=$2 swagger=$3 targetDirectory=$4 packageName=$5 +packageDescription=$6 projectPath=$targetDirectory/$packageName @@ -36,6 +37,8 @@ additionalProperties: nullableReferenceTypes: true packageName: $packageName packageVersion: 1.0.0 + packageCopyright: wemogy GmbH + packageDescription: $packageDescription targetFramework: netstandard2.1 nonPublicApi: false # Can be set to true for rich SDKs, where the API should not be exposed to the user directly EOF