Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Spam and Abuse Watch
  4. Plagiarised would-be tip (Swagger Integration in ASP.NET Core WebAPI Project | PavanPabolu)

Plagiarised would-be tip (Swagger Integration in ASP.NET Core WebAPI Project | PavanPabolu)

Scheduled Pinned Locked Moved Spam and Abuse Watch
asp-netcsharpdotnetcomdocker
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Richard DeemingR Offline
    Richard DeemingR Offline
    Richard Deeming
    wrote on last edited by
    #1

    Swagger Integration in ASP.NET Core WebAPI Project[^] PavanPabolu - Professional Profile[^] Compare:

    Get started with Swashbuckle and ASP.NET Core | Microsoft Learn[^]:

    There are three main components to Swashbuckle: Swashbuckle.AspNetCore.Swagger: a Swagger object model and middleware to expose SwaggerDocument objects as JSON endpoints.

    Quote:

    There are three main components in the Swashbuckle package. Swashbuckle.AspNetCore.Swagger: Contains the Swagger object model and the middleware to expose SwaggerDocument objects as JSON endpoints.

    Get started with Swashbuckle and ASP.NET Core | Microsoft Learn[^]:

    Add the Swagger generator to the services collection in Program.cs:

    builder.Services.AddControllers();
    builder.Services.AddEndpointsApiExplorer();
    builder.Services.AddSwaggerGen();

    Quote:

    Add the Swagger generator method to the services collection in program.cs as below:

    // Add services to the container.
    builder.Services.AddControllers();
    builder.Services.AddEndpointsApiExplorer();
    builder.Services.AddSwaggerGen();


    "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups