Open lonix1 opened 2 years ago
Swashbuckle currently recommends to use xml comments instead of attributes:
Before
[ProducesResponseType(200)] // either ASP.NET Core built-in [SwaggerResponse(200)] // or Swashbuckle
After
/// <response code="200">Success.</response>
Problem is the API1000 doesn't recognise the xml comments, and complains:
API1000
Action method returns undeclared status code '200'
It would be nice to have an analyser for this in this library, if possible?
Swashbuckle currently recommends to use xml comments instead of attributes:
Before
After
Problem is the
API1000
doesn't recognise the xml comments, and complains:It would be nice to have an analyser for this in this library, if possible?