-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI - support for multipart form data request body #3031
Comments
Support for input file only in multipart scenarios |
Is this referring to the fact that Around a year ago I tested out This begs the question; Is my schema incorrect and |
This issue is specific to generating CLI clients. But to answer your question, multipart requires more information than "other serialization formats":
This is why kiota projects a reference to that wrapper object, so customers can assemble the payload from a mix of structured (generated types) and unstructured parts. Let us know if you have any additional comments or questions. |
Could you not, at the very least, generate a stub like the following: {
public MultipartFormDataContent FirstName { get; init; }
public MultipartFormDataContent LastName { get; init; }
public MultipartFormDataContent File { get; init; }
} Such that you can at least know which pros exist |
That's a good suggestion. However the parent type for those properties also needs to handle the boundary. |
details in #220 and linked pull requests.
The text was updated successfully, but these errors were encountered: