OpenAPITools / OpenAPITools/openapi-generator
[REQ] openapi-generator-cli as GraalVM native image
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Problem
I want to use openapi-generator-cli to generate code in different projects in a different languages like go, rust etc.
But it requires to install java or use it as docker image (big image size), which is a java specific approach.
Desired feature
Can we build and publish openapi-generator-cli as GraalVM native-image that can be tech agnostic binary and can be used on any platform without dependency to java or nodejs and same for docker image build it as native image in that case it will be smaller size and instant startup time and we can reduce docker image download time, similar to mvnd or Kafka native docker image.
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 by reviewing the openapi-generator-cli packaging and the repository's current Java and Docker distribution approach, then check GraalVM native-image compatibility. Define what is required for a published native binary and smaller Docker image, including supported platforms and removal of Java or Node.js runtime dependencies. Done means the native CLI and corresponding image can be built and published with equivalent generator use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100