Created
August 12, 2023 18:08
-
-
Save nishanc/5c255b56e415c201aaf942f0a1fca715 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.UseSwaggerUI(c => | |
{ | |
c.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1"); | |
c.RoutePrefix = string.Empty; // <--------Add this line. | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment