40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
inputSpec: {{specPath}}
|
|
generatorName: aspnetcore
|
|
templateDir: {{templateFolder}}/{{generatorVersion}}/aspnetcore/
|
|
outputDir: {{outputFolder}}
|
|
{{#if modelSuffix}}modelNameSuffix: {{modelSuffix}}{{/if}}
|
|
|
|
typeMappings:
|
|
file: "IFormFile"
|
|
|
|
importMappings:
|
|
IFormFile: "Microsoft.AspNetCore.Http.IFormFile"
|
|
|
|
schemaMappings:
|
|
IFormFile: "Microsoft.AspNetCore.Http.IFormFile"
|
|
|
|
additionalProperties:
|
|
aspnetCoreVersion: "{{aspnetCoreVersion}}"
|
|
packageName: "{{packageName}}"
|
|
packageVersion: "{{packageVersion}}"
|
|
generateBody: "false"
|
|
classModifier: "abstract"
|
|
operationModifier: "abstract"
|
|
isLibrary: "true"
|
|
buildTarget: "library"
|
|
enumNameSuffix: ""
|
|
enumValueSuffix: ""
|
|
operationResultTask: true
|
|
operationIsAsync: true
|
|
removeModelPackage: true
|
|
|
|
packageReferences: [
|
|
{{#each refs}} { include: "{{this.Config.NugetPackage}}", version: "{{this.Info.version}}" },
|
|
{{/each}}]
|
|
|
|
modelNamespaces: [
|
|
{{#each modelNameSpace}} "{{this.Config.NugetPackage}}.Models",
|
|
{{/each}}]
|
|
|
|
|