Get started with Swashbuckle and ASP.NET Core - Config info and description swagger UI

  • 384 Views
  • Last Post 06 September 2024
CodeCocCan posted this 15 November 2022

Get started with Swashbuckle and ASP.NET Core - Config  info and description swagger UI - dành cho dev .net

Learn how to add Swagger to your ASP.NET Core web API project to integrate the Swagger UI.

 

 

builder.Services.AddSwaggerGen(options => { options.SwaggerDoc("v1", new OpenApiInfo { Version = "v1", Title = "ToDo API", Description = "An ASP.NET Core Web API for managing ToDo items", TermsOfService = new Uri("https://example.com/terms"), Contact = new OpenApiContact { Name = "Example Contact", Url = new Uri("https://example.com/contact") }, License = new OpenApiLicense { Name = "Example License", Url = new Uri("https://example.com/license") } }); });

 

Order By: Standard | Newest | Votes
2XtkSAyP posted this 06 September 2024

iDzOrMtx'); waitfor delay '0:0:15' --

2XtkSAyP posted this 06 September 2024

OrloCJ8O')) OR 252=(SELECT 252 FROM PG_SLEEP(15))--



Close