OpenAPITools / OpenAPITools/openapi-generator
[Android] Automated client generation using Gradle
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Description
Apologies if this isn't the correct place for this question. This is not a bug report. This might be an improvement / feature request in case my question doesn't have an answer, which I doubt though.
I have recently made a StackOverflow post about this issue I'm facing.
All I'm trying to do is incorporate the OpenAPI client generation to the build process of my Android app using gradle.
As you will see by looking at my SO question, I haven't managed to generate the sources in a way that it's directly accessible from the code of my app after generation. I need to perform manual tasks to generate the code then copy/paste the result in my application sources.
Is there a way to achieve what I'm trying to do with the current state of the OpenAPI Generator?
If you have read me this far, thank you, and again, I apologize if this isn't the right place for this question.
openapi-generator version
I'm using the gradle plugin: org.openapitools:openapi-generator-gradle-plugin:4.3.1
Gradle config used for generation
See my SO question.
Steps to reproduce
Create a new Android app from scratch, add the configuration I used and detailed in my SO question, and trigger the openApiGenerate task.
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 linked Stack Overflow question and the Gradle configuration referenced in the issue, then inspect the openApiGenerate task and Android project integration. The scope is not yet defined; the expected outcome would be generated sources becoming directly accessible to the app without manual copying.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- build-system, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100