I am using the webapi help pages nuget package from Microsoft.
When i recently added a new controller, all my routes in the help page appear twice:
GET api/v2/something/{id}
and
GET api/v2/something?id={id}
How can i remove these duplicates?
Surprisingly for some older controllers that i added last year that did not happen.
The only difference that i can think of is that in the new controller i used dynamic
as the response type, but i also used the ResponseTypeAttribute
so in the help page the DTO models are displayed correctly.