sbt-openapi-generator icon indicating copy to clipboard operation
sbt-openapi-generator copied to clipboard

Expose task to return OpenAPI generator inputs

Open pedropramos opened this issue 1 year ago • 2 comments

Extract the parsing of the SBT settings from openApiGenerate into a separate SBT task (openApiGenerateInputs) which returns a org.openapitools.codegen.ClientOptInput.

This new task is useful for building non-trivial code generation workflows, where e.g. we want to call the OpenAPI generator multiple times with small variations on the provided settings.

pedropramos avatar Nov 06 '24 14:11 pedropramos

Hi @wing328, any thoughts on this?

pedropramos avatar Nov 11 '24 10:11 pedropramos

thanks for the PR. we definitely welcome enhancements.

i wonder if you can add a test or 2 to cover this change as part of this PR.

wing328 avatar Nov 11 '24 14:11 wing328

@pedropramos would you still like to get this PR merged?

I assume you've tested it locally so I think we can go ahead to give it a try

wing328 avatar Aug 27 '25 08:08 wing328