skip to Main Content

No operations defined in spec! asp .net core 3.1, swagger is not showing controller – Asp.net

I tried this and also this several links but not getting the answer. this is my startup.cs file public void ConfigureServices(IServiceCollection services) { services.AddControllers(); services.AddCommonService(Configuration); services.AddSecurityServiceRepositories(); services.AddSwaggerService(); } public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { app.UseSwaggerService(); if (env.IsDevelopment()) { app.UseDeveloperExceptionPage();…

VIEW QUESTION
Back To Top
Search