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

Expose task to return OpenAPI generator inputs #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pedropramos
Copy link

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
Copy link
Author

Hi @wing328, any thoughts on this?

@wing328
Copy link
Member

wing328 commented Nov 11, 2024

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.

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

Successfully merging this pull request may close these issues.

2 participants