Import from internal git
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
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}}]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user