Category: swagger
-
openAPISwaggerUI–part 4–adding tests
This is how I made https://nuget.org/packages/OpenAPISwaggerUI in order to see the UI for an ASP.NET 9 project. And hey,if you have any feedback,don’t be shy! Drop by https://github.com/ignatandrei/openAPISwaggerUI/ and let me know. For testing,I have created a new ASP.NET Core 9 project that can be used to run [code lang=”csharp”] app.MapOpenApi(); app.UseOpenAPISwaggerUI(); public partial class…
-
openAPISwaggerUI–part 3–add UI for all
This is how I made https://nuget.org/packages/OpenAPISwaggerUI in order to see the UI for an ASP.NET 9 project. And hey,if you have any feedback,don’t be shy! Drop by https://github.com/ignatandrei/openAPISwaggerUI/ and let me know. Now I want the users of my ASP.NET 9 project to have a buffet of Swagger UIs (Swashbuckle,Redoc,Scalar,NSwag,VisualAutomation) and let them pick their…
-
openAPISwaggerUI–part 2 – add ui for all
This is how I made https://nuget.org/packages/OpenAPISwaggerUI in order to see the UI for an ASP.NET 9 project. And hey,if you have any feedback,don’t be shy! Drop by https://github.com/ignatandrei/openAPISwaggerUI/ and let me know. Step one in this epic quest: add all the mystical references (a.k.a. NuGet packages) to the project file. [code lang=”xml”] <ItemGroup> <PackageReference Include="Microsoft.AspNetCore.OpenApi"…
-
openAPISwaggerUI–part 1- idea
In .NET 9,Microsoft decided to play a little game of “Hide and Seek” with OpenAPI / Swagger JSON generation,leaving the UI part for us to figure out. So,how do we choose the best UI for our project without turning it into a guessing game? Well,I thought,why not create a project that lets you try all…