Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal environment for creating a language override plugin #5

Open
judgej opened this issue May 29, 2019 · 0 comments
Open

Minimal environment for creating a language override plugin #5

judgej opened this issue May 29, 2019 · 0 comments

Comments

@judgej
Copy link
Member

judgej commented May 29, 2019

There are some small changes we need to make to the output generator, the final language override stage. A custom override I guess is what we need (which could possibly extend org.openapitools.codegen.languages.AbstractPhpCodegen or even org.openapitools.codegen.languages.PerlClientCodegen since these should be only minor tweaks.

I understand we can add a jar file of these classes or class as plugin at runtime. I have never coded Java before, so don't have any environments set up, but adding a few lines of code looks simple enough. What is the minimal that can be set up that will allow me to tweak a java file and spit out a suitable jar file that I can use as a generator plugin? Is there perhaps a container I can use already set up to compile customisation plugins?

@bradydan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant