I'm trying to define an endpoint which is a pure file upload API and doesn't depend on a model
swagger ref: https://swagger.io/docs/specification/describing-request-body/file-upload/#multipart
Tried setting this, but seems like I'm missing something.
@extend_schema(
request={
'multipart/form-data': { 'schema': ... } # similar to what's in the above link
}
)
I'm trying to define an endpoint which is a pure file upload API and doesn't depend on a model
swagger ref: https://swagger.io/docs/specification/describing-request-body/file-upload/#multipart
Tried setting this, but seems like I'm missing something.