Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Commit 18bf2e3

Browse files
committed
Before routing is more appropriate
1 parent a570f67 commit 18bf2e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/1. Create BackEnd API project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Additional information on using Swashbuckle in ASP.NET Core is available in this
186186
options.SwaggerDoc("v1", new OpenApiInfo { Title = "Conference Planner API", Version = "v1" })
187187
);
188188
```
189-
1. Configure Swashbuckle by adding the following lines to the top of the `Configure` method in `Startup.cs`:
189+
1. Configure Swashbuckle by adding the following lines just before `UseRouting` in the `Configure` method in `Startup.cs`:
190190
```csharp
191191
app.UseSwagger();
192192

0 commit comments

Comments
 (0)