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}}
8989 Name = " {{#infoName}}{{{infoName}}}{{/infoName}}{{^infoName}}Swagger Codegen Contributors{{/infoName}}" ,
9090 Url = new Uri(" {{#infoUrl}}{{{infoUrl}}}{{/infoUrl}}{{^infoUrl}}https://github.com/swagger-api/swagger-codegen{{/infoUrl}}" ),
9191 Email = " {{#infoEmail}}{{{infoEmail}}}{{/infoEmail}}"
92- } { {#termsOfService} }{ ,
93- TermsOfService = new Uri( " {{termsOfService}}" ) } { {/termsOfService} }
92+ } , { {#termsOfService} }
93+ TermsOfService = "{ {termsOfService} }"{ {/termsOfService} }
9494 });
9595 c.CustomSchemaIds(type => type.FullName);
9696 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}}
8686 Name = " {{#infoName}}{{{infoName}}}{{/infoName}}{{^infoName}}Swagger Codegen Contributors{{/infoName}}" ,
8787 Url = " {{#infoUrl}}{{{infoUrl}}}{{/infoUrl}}{{^infoUrl}}https://github.com/swagger-api/swagger-codegen{{/infoUrl}}" ,
8888 Email = " {{#infoEmail}}{{{infoEmail}}}{{/infoEmail}}"
89- } { {#termsOfService } } { ,
90- TermsOfService = " {{termsOfService}}" } { {/termsOfService} }
89+ } ,
90+ TermsOfService = "{ {# termsOfService} }{ {{termsOfService } }} { {/termsOfService} }"
9191 });
9292 c.CustomSchemaIds(type => type.FriendlyId(true));
9393 c.DescribeAllEnumsAsStrings();
You can’t perform that action at this time.
0 commit comments