76cfe4dc460cea8363f631f2f8a185883cb062c1
Introduced a preprocessor directive `#if NET9_0_OR_GREATER` to conditionally include the `app.MapOpenApi();` method call. This ensures that the `MapOpenApi` functionality is only executed when the application targets .NET 9.0 or later, maintaining compatibility with earlier .NET versions.
Description
No description provided
Languages
JavaScript
84.1%
C#
7.6%
HTML
3.6%
Visual Basic .NET
2.7%
CSS
1.5%
Other
0.4%