API documentation follows the same approach as .NET Core Minimal APIs. You only need to use your preferred documentation generator; no additional packages are required.
ShowcaseWebApi sample project uses Swashbuckle.AspNetCore.
WeatherForecastWebApi sample project uses Microsoft.AspNetCore.OpenApi and Scalar.AspNetCore.