GitHubスライド | slidict.io

メッセージを読み込み中

SwaggerUI.Aspire.Hosting

  • ユーザー:
  • 最終更新: 2025/06/27
  • 読み取り時間: 00:18

SwaggerUI.Aspire.Hosting

This repository shows a sample of how use aspire to show a swagger ui for any resource that exposes an open api endpoint.

Just add WithSwaggerUI() to any project resource builder and you are good to go!

var builder = DistributedApplication.CreateBuilder(args);

builder.AddProject("api")
    .WithSwaggerUI();

builder.Build().Run();
著者:
David Fowler

Distinguished Engineer 🧐 at Microsoft on the .NET team, Creator of SignalR

Access

0 回

シンプルでエレガントなプレゼン。slidict.io - プロフェッショナルなスライド作成を実現

プレゼンを変革する。ログインしてslidict.ioを体験しよう!