8 references to WriteTemplate
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (8)
Languages\angular\Angular.cs (4)
364
context.
WriteTemplate
("models", context.Templates["Models"], model);
365
context.
WriteTemplate
("helper", context.Templates["Helper"], model);
366
context.
WriteTemplate
("index", context.Templates["index"], model);
367
context.
WriteTemplate
(Helpers.CamelCase(context.Options.ClientName.AsSpan()), context.Templates["ServiceClient"], model);
Languages\csharp\CSharp.cs (4)
228
context.
WriteTemplate
(context.Options.ClientName, context.Templates["ServiceClient"], model);
229
context.
WriteTemplate
("PagedResponse", context.Templates["PagedResponse"], model);
233
context.
WriteTemplate
($"Models/{Helpers.PascalCase(type.Name.AsSpan())}", context.Templates["Model"], type);
238
context.
WriteTemplate
(group.Name, context.Templates["MethodGroup"], group);