forked from loafle/openapi-generator-original
Added Contact NAME to Startup.cs (#7168)
* Ran bin/aspnetcore-petstore-server.sh * Added contact information to startup.cs * updated to support NAME as well * updated samples * updated NAME default
This commit is contained in:
parent
5e4d363675
commit
5306372b98
@ -61,7 +61,8 @@ namespace {{packageName}}
|
||||
Description = "{{#appName}}{{{appName}}}{{/appName}}{{^appName}}{{packageName}}{{/appName}} (ASP.NET Core 2.0)",
|
||||
Contact = new Contact()
|
||||
{
|
||||
Url = "{{#infoUrl}}{{{infoUrl}}}{{/infoUrl}}",
|
||||
Name = "{{#infoName}}{{{infoName}}}{{/infoName}}{{^infoName}}Swagger Codegen Contributors{{/infoName}}",
|
||||
Url = "{{#infoUrl}}{{{infoUrl}}}{{/infoUrl}}{{^infoUrl}}https://github.com/swagger-api/swagger-codegen{{/infoUrl}}",
|
||||
Email = "{{#infoEmail}}{{{infoEmail}}}{{/infoEmail}}"
|
||||
},
|
||||
TermsOfService = "{{#termsOfService}}{{{termsOfService}}}{{/termsOfService}}"
|
||||
|
@ -70,7 +70,8 @@ namespace IO.Swagger
|
||||
Description = "Swagger Petstore (ASP.NET Core 2.0)",
|
||||
Contact = new Contact()
|
||||
{
|
||||
Url = "",
|
||||
Name = "Swagger Codegen Contributors",
|
||||
Url = "https://github.com/swagger-api/swagger-codegen",
|
||||
Email = "apiteam@swagger.io"
|
||||
},
|
||||
TermsOfService = "http://swagger.io/terms/"
|
||||
|
Loading…
x
Reference in New Issue
Block a user