From d6721c3064f1eb6e01d8d4333cc002a979574970 Mon Sep 17 00:00:00 2001 From: guardrex <1622880+guardrex@users.noreply.github.com> Date: Thu, 8 May 2025 08:09:11 -0400 Subject: [PATCH] Add OpenAPI/SwaggerUI --- aspnetcore/blazor/security/blazor-web-app-with-entra.md | 4 ++++ aspnetcore/blazor/security/blazor-web-app-with-oidc.md | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/aspnetcore/blazor/security/blazor-web-app-with-entra.md b/aspnetcore/blazor/security/blazor-web-app-with-entra.md index 8c07a50a876a..3488a04240e3 100644 --- a/aspnetcore/blazor/security/blazor-web-app-with-entra.md +++ b/aspnetcore/blazor/security/blazor-web-app-with-entra.md @@ -75,6 +75,8 @@ The `MinimalApiJwt` project is a backend web API for multiple frontend projects. The `MinimalApiJwt.http` file can be used for testing the weather data request. Note that the `MinimalApiJwt` project must be running to test the endpoint, and the endpoint is hardcoded into the file. For more information, see . +The project includes packages and configuration to produce [OpenAPI documents](xref:fundamentals/openapi/overview) and the [Swagger UI](https://swagger.io/api-hub/) in the Development environment. For more information, see . + A secure weather forecast data endpoint is in the project's `Program` file: ```csharp @@ -283,6 +285,8 @@ The `MinimalApiJwt` project is a backend web API for multiple frontend projects. The `MinimalApiJwt.http` file can be used for testing the weather data request. Note that the `MinimalApiJwt` project must be running to test the endpoint, and the endpoint is hardcoded into the file. For more information, see . +The project includes packages and configuration to produce [OpenAPI documents](xref:fundamentals/openapi/overview) and the [Swagger UI](https://swagger.io/api-hub/) in the Development environment. For more information, see . + A secure weather forecast data endpoint is in the project's `Program` file: ```csharp diff --git a/aspnetcore/blazor/security/blazor-web-app-with-oidc.md b/aspnetcore/blazor/security/blazor-web-app-with-oidc.md index 0cc9b149190e..6a31ea005ebc 100644 --- a/aspnetcore/blazor/security/blazor-web-app-with-oidc.md +++ b/aspnetcore/blazor/security/blazor-web-app-with-oidc.md @@ -114,6 +114,8 @@ The `MinimalApiJwt` project is a backend web API for multiple frontend projects. The `MinimalApiJwt.http` file can be used for testing the weather data request. Note that the `MinimalApiJwt` project must be running to test the endpoint, and the endpoint is hardcoded into the file. For more information, see . +The project includes packages and configuration to produce [OpenAPI documents](xref:fundamentals/openapi/overview) and the [Swagger UI](https://swagger.io/api-hub/) in the Development environment. For more information, see . + The project creates a [Minimal API](xref:fundamentals/minimal-apis) endpoint for weather data: ```csharp @@ -439,6 +441,8 @@ The `MinimalApiJwt` project is a backend web API for multiple frontend projects. The `MinimalApiJwt.http` file can be used for testing the weather data request. Note that the `MinimalApiJwt` project must be running to test the endpoint, and the endpoint is hardcoded into the file. For more information, see . +The project includes packages and configuration to produce [OpenAPI documents](xref:fundamentals/openapi/overview) and the [Swagger UI](https://swagger.io/api-hub/) in the Development environment. For more information, see . + The project creates a [Minimal API](xref:fundamentals/minimal-apis) endpoint for weather data: ```csharp @@ -824,6 +828,8 @@ The `MinimalApiJwt` project is a backend web API for multiple frontend projects. The `MinimalApiJwt.http` file can be used for testing the weather data request. Note that the `MinimalApiJwt` project must be running to test the endpoint, and the endpoint is hardcoded into the file. For more information, see . +The project includes packages and configuration to produce [OpenAPI documents](xref:fundamentals/openapi/overview) and the [Swagger UI](https://swagger.io/api-hub/) in the Development environment. For more information, see . + A secure weather forecast data endpoint is in the project's `Program` file: ```csharp