swagger-api / swagger-api/swagger-codegen
[Kotlin] File upload not being handled
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
The Kotlin library does not support generating file upload methods.
Swagger-codegen version
master
Command line used for generation
./kotlin_build_API.sh
Steps to reproduce
Try to generate an API call that uploads a java.io.file
Suggest a fix/enhancement
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
Start with the Kotlin generation invoked by ./kotlin_build_API.sh and inspect the referenced pull request 8827 for the proposed handling of java.io.File uploads. Generate an API call with a file upload and verify that the resulting Kotlin client supports it as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, kotlin, openapi
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100