79315691

Date: 2024-12-29 13:42:34
Score: 1
Natty:
Report link

Use the Tags attribute. I've found Scalar will group the methods under those tags perfectly. Something similar to:

[EndpointDescription("Retrieve a paged list of people based on a set of filters")]
[EndpointSummary("List People")]
[Tags("People")]
[HttpGet("people")]
[ProducesResponseType<PagedResultDto<PersonDto>>(StatusCodes.Status200OK, "application/json")]
public async Task<IActionResult> GetPeople([FromQuery] GetPeopleInputDto inputDto)
{ ... }

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Feech