replace tabs with 4-space (#8757)

This commit is contained in:
William Cheng 2021-02-19 23:06:20 +08:00 committed by GitHub
parent d19bfebeda
commit 095019a6d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 20 additions and 18 deletions

View File

@ -123,12 +123,14 @@ namespace {{packageName}}
//TODO: Or alternatively use the original Swagger contract that's included in the static files //TODO: Or alternatively use the original Swagger contract that's included in the static files
// c.SwaggerEndpoint("/openapi-original.json", "{{#appName}}{{{appName}}}{{/appName}}{{^appName}}{{packageName}}{{/appName}} Original"); // c.SwaggerEndpoint("/openapi-original.json", "{{#appName}}{{{appName}}}{{/appName}}{{^appName}}{{packageName}}{{/appName}} Original");
}){{/useSwashbuckle}};{{^useDefaultRouting}} }){{/useSwashbuckle}};
{{^useDefaultRouting}}
app.UseRouting(); app.UseRouting();
app.UseEndpoints(endpoints => app.UseEndpoints(endpoints =>
{ {
endpoints.MapControllers(); endpoints.MapControllers();
});{{/useDefaultRouting}} });
{{/useDefaultRouting}}
if (env.IsDevelopment()) if (env.IsDevelopment())
{ {