测试
This commit is contained in:
@@ -8,15 +8,15 @@
|
||||
}
|
||||
},
|
||||
"$schema": "http://json.schemastore.org/launchsettings.json",
|
||||
"profiles": {
|
||||
"IIS Express": {
|
||||
"commandName": "IISExpress",
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "swagger",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
//"profiles": {
|
||||
// "IIS Express": {
|
||||
// "commandName": "IISExpress",
|
||||
// "launchBrowser": true,
|
||||
// "launchUrl": "swagger",
|
||||
// "environmentVariables": {
|
||||
// "ASPNETCORE_ENVIRONMENT": "Development"
|
||||
// }
|
||||
// },
|
||||
"WMS.Web.Api": {
|
||||
"commandName": "Project",
|
||||
"launchBrowser": false,
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace WMS.Web.Api
|
||||
// SwaggerUI
|
||||
app.UseSwaggerUI(c =>
|
||||
{
|
||||
c.SwaggerEndpoint($"/swagger/v1/swagger1.json", "WMS-Api");
|
||||
c.SwaggerEndpoint($"/swagger/v1/swagger.json", "WMS-Api");
|
||||
c.RoutePrefix = string.Empty;
|
||||
c.DocExpansion(DocExpansion.None);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user