Get started with Swashbuckle and ASP. NET Core There are three main components to Swashbuckle: Swashbuckle AspNetCore Swagger: a Swagger object model and middleware to expose SwaggerDocument objects as JSON endpoints Swashbuckle AspNetCore SwaggerGen: a Swagger generator that builds SwaggerDocument objects directly from your routes, controllers, and models It's typically combined with the
Bien démarrer avec Swashbuckle et ASP. NET Core Swashbuckle repose sur trois composants principaux : Swashbuckle AspNetCore Swagger : modèle objet Swagger et intergiciel (middleware) pour exposer des objets SwaggerDocument sous forme de points de terminaison JSON
ASP. NET Core web API documentation with Swagger OpenAPI Both Swashbuckle and NSwag include an embedded version of Swagger UI, so that it can be hosted in your ASP NET Core app using a middleware registration call The web UI looks like this: Each public action method in your controllers can be tested from the UI
Wprowadzenie do pakietu Swashbuckle i platformy ASP. NET Core Domyślnie pakiet Swashbuckle generuje i udostępnia Swagger JSON w wersji 3 0 specyfikacji — oficjalnie nazywanej specyfikacją OpenAPI Aby zapewnić zgodność wsteczną, możesz zdecydować się na udostępnienie JSON w formacie 2 0