Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

swaggergen add service not getting info in .net core

services.AddSwaggerGen(c =>
{
    c.SwaggerDoc("v1", new OpenApiInfo { Title = "The API", Version = "v1" });
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swaggergen #add #service #info #core
ADD COMMENT
Topic
Name
7+8 =