OpenAPITools / OpenAPITools/openapi-generator
[BUG] If it is a 'multipart/form-data' uploading. It will cause a build error.
Open
Nobody has claimed this yet.
Issue: Bug
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
As title, The 'multipart/form-data' input param is a List. There is a setting field operation in this mustache. It will cause a build error.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect modules/openapi-generator/src/main/resources/dart2/api.mustache at line 65, then reproduce generation for an OpenAPI operation using a multipart/form-data input parameter. Check the generated Dart code and confirm that the resulting project builds without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, java
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100