30 lines
867 B
Plaintext
30 lines
867 B
Plaintext
inputSpec: {{specPath}}
|
|
generatorName: csharp
|
|
templateDir: {{templateFolder}}/{{generatorVersion}}/csharp/
|
|
outputDir: {{outputFolder}}
|
|
|
|
modelPackage: Models
|
|
excludeTests: true
|
|
{{#if removeModelPackage}}hasImport : false{{/if}}
|
|
modelNameSuffix: {{modelSuffix}}
|
|
|
|
additionalProperties:
|
|
packageName: {{packageName}}
|
|
packageVersion: {{packageVersion}}
|
|
generateBody: "true"
|
|
classModifier: "abstract"
|
|
operationModifier: "abstract"
|
|
isLibrary: "true"
|
|
buildTarget: "library"
|
|
enumNameSuffix: ""
|
|
enumValueSuffix: ""
|
|
optionalEmitDefaultValues: true
|
|
operationIsAsync: false
|
|
|
|
packageReferences: [
|
|
{{#each refs}} { include: "{{this.Config.NugetPackage}}", version: "{{this.Info.version}}" },
|
|
{{/each}}]
|
|
|
|
modelNamespaces: [
|
|
{{#each modelNameSpace}} "{{this.Config.NugetPackage}}.Models",
|
|
{{/each}}] |