@SameerDoshi walks us through creating a new Blazor application and how to use the OpenAPI Visual Studio 2022 extension to create a connected service to a Swagger API.
You will need to install the OpenAPI extension.
That will give you the Connected Service Option.
This video walks you through the following steps:
Call a web API from ASP.NET Core Blazor app | Microsoft Docs