forked from MDCPS/DamageAssessment_Backend
dev server swagger updation
This commit is contained in:
@ -42,7 +42,7 @@ var app = builder.Build();
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
app.UseSwaggerUI(options => { options.SwaggerEndpoint("/attachments/swagger/v1/swagger.json", ""); });
|
||||
}
|
||||
|
||||
app.UseAuthorization();
|
||||
|
Reference in New Issue
Block a user