Swagger & XML Documentation Gate
CRITICAL RULE: Code without documentation is rejected.
For every API endpoint or Controller written in the backend:
- You MUST include
/// <summary>tags explaining what the endpoint does. - You MUST include
<param>and<returns>XML tags where applicable. - You MUST explicitly decorate the endpoint with Swagger attributes (e.g.,
[ProducesResponseType(StatusCodes.Status200OK, Type = typeof(Dto))],400 BadRequest,404 NotFound). - Ensure the Swagger UI becomes a self-explanatory, maximum-professional-grade documentation portal.