Adding WAV file to project


#1

I’m trying to design an API in which an audio file is sent as part of a multipart/form-data POST request.

How do I go about uploading a WAV file so that I can !include it as part of the example: parameter value?

multipart/form-data:
  formParameters:
    file:
      description: Audio file to be transfered
      required: true
      type: file
      example: !include sample-audio.wav

Thanks in advance!