Exemple #1
0
        public static IApplicationBuilder AddSwagger(this IApplicationBuilder app)
        {
            SwaggerConfig.ConfigureApplication(app);

            return(app);
        }
Exemple #2
0
        public static IServiceCollection AddSwagger(this IServiceCollection services)
        {
            SwaggerConfig.ConfigServices(services);

            return(services);
        }