Can field names be editable in Swagger UI?

The curl to upload a file to my API looks something like this:

curl -i -X POST \
-H "Authorization: $AUTH" \
-H "Accept: application/json" \
-H "Content-Type: multipart/form-data" \
-F "$CHECKSUM=@$FILE" \
$HOST/api/fileupload

The problem is the -F "$CHECKSUM=@$FILE" line. $CHECKSUM is a checksum for 
the file being uploaded, so naturally it varies from one file to another.

My options are

   - Make the field name editable
   - Provide a file with a known checksum for using with the console

Any thoughts?

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to