OpenAPITools / OpenAPITools/openapi-generator

[REQ] [csharp] UnityWebRequest Library doesn't support File Parameters

Open
#19,661 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement: Feature
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

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

I'm using openapi-generator to generate code to use an api that has file uploads, but the unityWebRequest csharp library doesn't support file parameters. (relevant commit https://github.com/OpenAPITools/openapi-generator/commit/f3960b2116501ba4eca5684be5981d1e9d6783cc)

It seems like it hasn't been added because tvOS doesn't support it (https://github.com/OpenAPITools/openapi-generator/commit/f3960b2116501ba4eca5684be5981d1e9d6783cc#diff-f70cd4bfd69b65e746954f0a137a62ce1d81a70c4c6ba50357d9b8aca32060ceR833) but we don't mind since it's not a compile target for us.

Describe the solution you'd like

Add FileParameters to the unityWebRequest library.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked commit and the unityWebRequest library implementation to understand why file parameters were omitted for tvOS. Add FileParameters support for the UnityWebRequest C# client, then verify that generated clients handle file uploads for the intended Unity targets without breaking tvOS compilation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
devtools, game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.