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

[REQ] [csharp-netcore] Allow to specify content-type when sending a file #10472

Closed
llRandom opened this issue Sep 25, 2021 · 0 comments · Fixed by #10473
Closed

[REQ] [csharp-netcore] Allow to specify content-type when sending a file #10472

llRandom opened this issue Sep 25, 2021 · 0 comments · Fixed by #10473

Comments

@llRandom
Copy link
Contributor

llRandom commented Sep 25, 2021

Is your feature request related to a problem? Please describe.

Currently it's not possible to specity content-type when sending a file using csharp-netcore client. It's always sent as application/octet-stream. Other clients support it (for example, typescript-angular)

Describe the solution you'd like

A ContentType property may be added to an existing FileParameter class with application/octet-stream as a default value

llRandom pushed a commit to llRandom/openapi-generator that referenced this issue Sep 25, 2021
llRandom added a commit to llRandom/openapi-generator that referenced this issue Sep 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant