Skip to content
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

Add Encoding and Media Type to StringContent for form data #4487

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

ArieGato
Copy link
Contributor

This PR adds media type and encoding to the c# generated StringContent for objects in form data to the c# Client.Class.liquid template.

Fixes #4486

@RicoSuter RicoSuter merged commit f9d7515 into RicoSuter:master Sep 27, 2023
@ArieGato ArieGato deleted the mediatype-in-multipartformdata branch September 27, 2023 08:32
lahma pushed a commit to lahma/NSwag that referenced this pull request Jan 20, 2024
…#4487)

* Add Encoding and Media Type to StringContent for form data in Client.Class.liquid

* Fully qualify Encoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No media type used for MultipartFormDataContent
2 participants