Skip to content

Commit 26ebc0b

Browse files
author
Cam Soper
authored
Update first-web-api.md
1 parent 656b668 commit 26ebc0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

aspnetcore/tutorials/first-web-api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ The previously highlighted code:
125125
* Sets the `SwaggerEndpoint()` option to the location of the OpenAPI documentation for this project.
126126
* Ensures the Swagger UI is only available in the app development environment to limit information disclosure and security vulnerability.
127127

128+
```csharp
128129
var app = builder.Build();
129130

130131
// Configure the HTTP request pipeline.
@@ -562,4 +563,4 @@ For more information, see the following resources:
562563

563564
[!INCLUDE[](~/tutorials/first-web-api/includes/first-web-api7.md)]
564565

565-
[!INCLUDE[](~/tutorials/first-web-api/includes/first-web-api8.md)]
566+
[!INCLUDE[](~/tutorials/first-web-api/includes/first-web-api8.md)]

0 commit comments

Comments
 (0)