Swashbuckle.AspNetCore
Swashbuckle.AspNetCore copied to clipboard
How to support binary and json on same endpoint
Hi, I have an endpoint (same path) which must support a byte[]=application/octet-stream or a json=application/json. The reason is that clients can eventually use compression for their payload.
Both definition I have are correct and works alone, but I have a conflict when declaring them at the same time. Is there a way to make that working ?