How to add OpenAPI and Swagger to ASP.NET Core Minimal APIs

preview_player
Показать описание
Fritz builds on the existing Minimal API we've been building in this series to introduce OpenAPI and Swagger bindings for our API endpoints using Swashbuckle

More about OpenAPI with Minimal APIs from the Microsoft documentation:

Рекомендации по теме
Комментарии
Автор

When I created my Blazor Server app, I forgot to add OpenAI.
Cheers, not only did you show me how to add it manually but you explained it so well!

Cheers!

aussieraver
Автор

Is it possible to add XML documentation into the swagger page with Minimal APIs? I have done it with Controllers before, but it does not appear to work with Minimal APIs.

Xorcist
Автор

Do you plan to post a video on how to deploy minimal API on Azure portal? Thanks so much for your videos

danielegiovanetti