|
|
@ -171,7 +171,7 @@ namespace Microsoft.eShopOnContainers.Services.Locations.API |
|
|
|
app.UseSwagger() |
|
|
|
.UseSwaggerUI(c => |
|
|
|
{ |
|
|
|
c.SwaggerEndpoint($"{ (!string.IsNullOrEmpty(pathBase) ? pathBase : string.Empty) }/swagger/v1/swagger.json", "My API V1"); |
|
|
|
c.SwaggerEndpoint($"{ (!string.IsNullOrEmpty(pathBase) ? pathBase : string.Empty) }/swagger/v1/swagger.json", "Locations.API V1"); |
|
|
|
c.ConfigureOAuth2("locationsswaggerui", "", "", "Locations Swagger UI"); |
|
|
|
}); |
|
|
|
|
|
|
|