Skip to content

Commit da35f22

Browse files
Merge pull request #34613 from timdeschryver/issue/34510
include AOT support in v9 moniker
2 parents 20931c7 + 218aa5e commit da35f22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

aspnetcore/fundamentals/openapi/aspnetcore-openapi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,7 @@ In order to restrict these code paths from being invoked by the build-time gener
227227

228228
:::code language="csharp" source="~/fundamentals/openapi/samples/9.x/AspireApp1/AspireApp1.Web/Program.cs" highlight="5-8":::
229229

230-
<!--keep-->[AddServiceDefaults](https://source.dot.net/#TestingAppHost1.ServiceDefaults/Extensions.cs,0f0d863053754768,references) Adds common .NET Aspire services such as service discovery, resilience, health checks, and OpenTelemetry.
231-
232-
:::moniker-end
230+
[AddServiceDefaults](https://source.dot.net/#TestingAppHost1.ServiceDefaults/Extensions.cs,0f0d863053754768,references)<!--keep--> adds common .NET Aspire services such as service discovery, resilience, health checks, and OpenTelemetry.
233231

234232
## Trimming and Native AOT
235233

@@ -263,4 +261,6 @@ Publish the app.
263261
dotnet publish
264262
```
265263

264+
:::moniker-end
265+
266266
[!INCLUDE[](~/fundamentals/openapi/includes/aspnetcore-openapi6-8.md)]

0 commit comments

Comments
 (0)