Skip to content

Commit

Permalink
Merge pull request #19357 from xxxxue/patch-1
Browse files Browse the repository at this point in the history
Update Swagger-Integration.md
  • Loading branch information
maliming authored Mar 22, 2024
2 parents f50cbc6 + 97dde38 commit 18aef7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/en/API/Swagger-Integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ public override void OnApplicationInitialization(ApplicationInitializationContex

//... other configurations.
app.UseStaticFiles();

app.UseSwagger();

app.UseAbpSwaggerUI(options =>
{
options.SwaggerEndpoint("/swagger/v1/swagger.json", "Test API");
Expand Down

0 comments on commit 18aef7a

Please sign in to comment.