Hello,
I’d like to contribute one feature to openapi-generator-gradle-plugin however I’m not sure if that’s possible in gradle.
For a reference in maven plugin it works like this: you can add dependency for plugin (e.g. some library which contains openapi.yaml somewhere in resources) and load files directly from that dependency.
I’d like to do the same, however I’m not sure if I’m able to access/configure the classpath/dependencies for that particular plugin. I’ve seen that there is an option in plugin configuration to include dependencies but IDK what else to check.
If you want to contribute a feature to that plugin, you should head to the maintainer of that plugin.
But if I understood correctly what you intend, then this is probably already possible with standard Gradle and the plugin as-is.
I just cannot tell you exactly how, as your situation is not clear enough for me.
Maybe if you knit an MCVE.
@VampireMCVE here. If you execute openapiGenerate you will see that currently it’s not possible to resolve openapi definition from a classpath. I’d like to do the same as within maven plugin
currently the openapi file should be resolved from project some-api but anyway it should be possible to load it also from a jar file