-
My open API spec defines a multipart request body this way: requestBody:
content:
multipart/form-data:
schema:
type: object
required:
- name
- archive
properties:
name:
type: string
archive:
type: string
format: binary but the client that is generated does not seem to support a MultipartBody as a request parameter, nor does setting a string as the "archive" field of the generated request body work. It produces this error: How is the multipart body and the generated client interface meant to interact? Thank you very much for your time. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hi @brandonc Can you please:
Thanks! |
Beta Was this translation helpful? Give feedback.
-
@baywet Appreciate you taking a look. https://github.com/brandonc/kiota-multipart-repro You can see the client code I'm trying in |
Beta Was this translation helpful? Give feedback.
This is what is incorrect in the repro you've provided
Now, when I'm debugging locall…