cortex icon indicating copy to clipboard operation
cortex copied to clipboard

Add support for multipart/form-data to AsyncAPI

Open miguelvr opened this issue 4 years ago • 0 comments
trafficstars

Description

AsyncAPI currently only supports strings, JSON, and binary payloads. Multipart/form-data is a very common payload type and could be particularly useful for this API type.

Motivation

This would improve the UX and spare the user of having to parse the binary payload.

Additional context

  • This library could be useful https://github.com/defnull/multipart
  • werkzeug (flask) also has a utility function to parse multipart/form-data payloads (https://github.com/pallets/werkzeug/blob/master/tests/test_formparser.py)

miguelvr avatar Mar 16 '21 10:03 miguelvr