File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
modules/swagger-codegen/src/main/resources/aspnetcore Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ namespace {{packageName}}
89
89
Name = " {{#infoName}}{{{infoName}}}{{/infoName}}{{^infoName}}Swagger Codegen Contributors{{/infoName}}" ,
90
90
Url = new Uri(" {{#infoUrl}}{{{infoUrl}}}{{/infoUrl}}{{^infoUrl}}https://github.com/swagger-api/swagger-codegen{{/infoUrl}}" ),
91
91
Email = " {{#infoEmail}}{{{infoEmail}}}{{/infoEmail}}"
92
- } ,
93
- TermsOfService = new Uri("{ {# termsOfService} }{ {{termsOfService } }} { {/termsOfService} }")
92
+ } { {#termsOfService } } { ,
93
+ TermsOfService = new Uri(" {{termsOfService}}" ) } { {/termsOfService} }
94
94
});
95
95
c.CustomSchemaIds(type => type.FullName);
96
96
c.IncludeXmlComments($"{ AppContext.BaseDirectory} { Path.DirectorySeparatorChar} { _hostingEnv.ApplicationName} .xml");
Original file line number Diff line number Diff line change @@ -86,8 +86,8 @@ namespace {{packageName}}
86
86
Name = " {{#infoName}}{{{infoName}}}{{/infoName}}{{^infoName}}Swagger Codegen Contributors{{/infoName}}" ,
87
87
Url = " {{#infoUrl}}{{{infoUrl}}}{{/infoUrl}}{{^infoUrl}}https://github.com/swagger-api/swagger-codegen{{/infoUrl}}" ,
88
88
Email = " {{#infoEmail}}{{{infoEmail}}}{{/infoEmail}}"
89
- } ,
90
- TermsOfService = "{ {# termsOfService} }{ {{termsOfService } }} { {/termsOfService} }"
89
+ } { {#termsOfService } } { ,
90
+ TermsOfService = " {{termsOfService}}" } { {/termsOfService} }
91
91
});
92
92
c.CustomSchemaIds(type => type.FriendlyId(true));
93
93
c.DescribeAllEnumsAsStrings();
You can’t perform that action at this time.
0 commit comments