I need help to overwrite swagger generator to handle API endpoints with query parameter to be documented in swashbuckle
I have found a link where in Drastic Method explained how to overwrite swagger generator
For example: I have two same route defined endpoints:
- POST /api/customer (route template -> /api/customer)
- POST /api/customer?f={f}&l={l} (route template -> /api/customer)
Problem with default swagger generator is that it gives conflicts with same endpoints. I tried ResolveConflictingActions method from swashbuckle but didn't help that much.
Need help with actual working code which overwrites swagger generator in swashbuckle and document endpoints with query parameters like this image