From 97dde3879e604153ad91db50e8a4d670b9ddf60d Mon Sep 17 00:00:00 2001 From: xxxxue <32764266+xxxxue@users.noreply.github.com> Date: Wed, 20 Mar 2024 18:23:31 +0800 Subject: [PATCH] Update Swagger-Integration.md --- docs/en/API/Swagger-Integration.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/en/API/Swagger-Integration.md b/docs/en/API/Swagger-Integration.md index aad5c531c4..395b1830d7 100644 --- a/docs/en/API/Swagger-Integration.md +++ b/docs/en/API/Swagger-Integration.md @@ -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");