Open dashesy opened 4 years ago
I have the input sample:
input_sample = b"image_content"
Is there a way to accept binary content? I would like to send raw data (e.g. --data-binary of curl)
Instead of implicitely converting to base64, the schema should expect octet stream when input is bytes. Option for octet-stream also makes it easier to use binary data and still use the automatic swagger generation.
I have the input sample:
Is there a way to accept binary content? I would like to send raw data (e.g. --data-binary of curl)