79530181

Date: 2025-03-24 05:26:41
Score: 1.5
Natty:
Report link

Thanks to the previous answer which links the github issue I have found the solution.

I had to add the OpenApi version like this,

 app.UseSwagger(c =>
 {
     c.OpenApiVersion = Microsoft.OpenApi.OpenApiSpecVersion.OpenApi2_0;
 });
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Khandakar Rashed Hassan