title: swagger UI: how to convert the image into base64 before send it to the server?
body: <p>In my frontend, I convert the image file into base64 and send the string to the server.
  how can I convert the image into base64 in <code>swaggerUI?</code></p>
  <p>what I have tried is this:</p>
  <pre><code>{
      &quot;name&quot;: &quot;images&quot;,
      &quot;in&quot;: &quot;formData&quot;,
      &quot;description&quot;: &quot;file to upload&quot;,
      &quot;required&quot;: true,
      &quot;type&quot;: &quot;file&quot;
    }
  </code></pre>
  <p>but, It didn't send the base64 string to the server, as a result, I am getting an error.</p>