No authenticationScheme was specified, and there was no DefaultChallengeScheme found

Code Example - No authenticationScheme was specified, and there was no DefaultChallengeScheme found

                
                        services.AddAuthentication(IISDefaults.AuthenticationScheme);
                    
                
 

no authenticationscheme was specified and there was no defaultchallengescheme found. .net core

                        
                                Its not an authentication issue, issue is beacuse IncludeXmlComments path is wrong.
verify the path IncludeXmlComments in AddSwaggerGen