From 0bb467844201f58199020a8bef7acf49c89b7963 Mon Sep 17 00:00:00 2001 From: Maarten Balliauw Date: Wed, 30 Apr 2025 11:48:44 +0200 Subject: [PATCH 1/2] OpenAPI and SwaggerUI sample --- src/content/docs/bff/samples/index.mdx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/content/docs/bff/samples/index.mdx b/src/content/docs/bff/samples/index.mdx index f2b990838..4b06c646c 100644 --- a/src/content/docs/bff/samples/index.mdx +++ b/src/content/docs/bff/samples/index.mdx @@ -93,6 +93,17 @@ This sample shows how to use the BFF extensions for Microsoft YARP. target="_blank" /> +## OpenAPI and SwaggerUI + +This sample shows how to use OpenAPI and SwaggerUI in combination with BFF. + + + ## Separate Host for UI This sample shows how to have separate projects from the frontend and backend, using CORS to allow cross-site requests from the frontend to the backend. From a90772f65a4648f2496f5502881f3df3dee57bb6 Mon Sep 17 00:00:00 2001 From: Maarten Balliauw Date: Wed, 30 Apr 2025 12:01:47 +0200 Subject: [PATCH 2/2] Add link to blog for SwaggerUI sample --- src/content/docs/bff/samples/index.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/docs/bff/samples/index.mdx b/src/content/docs/bff/samples/index.mdx index 4b06c646c..5d48d9069 100644 --- a/src/content/docs/bff/samples/index.mdx +++ b/src/content/docs/bff/samples/index.mdx @@ -96,6 +96,7 @@ This sample shows how to use the BFF extensions for Microsoft YARP. ## OpenAPI and SwaggerUI This sample shows how to use OpenAPI and SwaggerUI in combination with BFF. +A walkthrough is available [on the Duende blog](https://blog.duendesoftware.com/posts/20250430-managing-openapi-specifications-with-backend-for-frontend-and-swagger-ui).