Swashbuckle.AspNetCore icon indicating copy to clipboard operation
Swashbuckle.AspNetCore copied to clipboard

How to support binary and json on same endpoint

Open semsitivity opened this issue 3 years ago • 4 comments

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 ?

semsitivity avatar Feb 01 '22 12:02 semsitivity