projects/minimal-api/open-api-2/README.md
This sample demonstrates ASP.NET Core 10's built-in OpenAPI 3.1 support with multiple response types.
Results<T1, T2> pattern with proper response documentationdotnet watch run
/scalar/openapi/v1.jsonThis sample was migrated from Swashbuckle to .NET 10's built-in OpenAPI support.
Changes:
Swashbuckle.AspNetCore package dependencyMicrosoft.AspNetCore.OpenApi (built-in)Scalar.AspNetCore for modern UIWithOpenApi() with XML documentation commentsGenerateDocumentationFile in .csprojSee OUT-OF-DATE.md for migration details.