OpenAPITools / OpenAPITools/openapi-generator

Need a way to upload binary data

Open
#19,201 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue: Bug
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

I was trying to send binary form of data though I was getting 400
need a way to upload binary data
I didn't find any solution so for particular thing I had to use http library
like eg : response = await client.put(
Uri.parse(Url),
body: File(imageBaseCode.path).readAsBytesSync(),
);
let me know even if we have any solution to this......

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

The issue names no repository file, test, generator entry point, or target language beyond a Dart example. Start by identifying the generated client and request definition involved in the 400 response, then document the expected binary upload behavior and a test that confirms it.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.