Skip to content

Commit e11938f

Browse files
Merge pull request #50382 from ShawnKupfer/WB1788
User Feedback 430931 - Fix code block per UUF feedback
2 parents 77149b6 + 6738ceb commit e11938f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

learn-pr/aspnetcore/build-web-api-minimal-api/includes/2-what-is-minimal-api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ To use Swagger and the Swagger UI in your API, you do two things:
146146
{
147147
c.SwaggerDoc("v1", new OpenApiInfo { Title = "Todo API", Description = "Keep track of your tasks", Version = "v1" });
148148
});
149+
}
149150
```
150151
151152
- Add `UseSwagger()` and `UseSwaggerUI()`. These two code lines tell the API project to use Swagger and also where to find the specification file *swagger.json*.

0 commit comments

Comments
 (0)