I have folder with Swagger YAMLs and I need to generate a code out of it(the rests, the DTOS).
the problem: I need it as part of a runtime flow and not as part of maven build.
now, I realize that I can execute swagger-codegen-cli.jar in a new process for each YAML.
but I wonder is there a way to do it programmatically without invoking a new process for each YAML.
is there a project/package that I can import and use as part of the flow?
thanks in advance.