Explore the way how to generate a file without running an app. That is a common case for various CICD scenarios.
As one of the options use org.reflections -> reflections to force Resource/Relationship/Operation initialization and building OAS model.
Use org.objenesis -> objenesis to scan classpath
Use Maven Exec plugin that simply triggers this logic.
Add to the Documentation.
Explore the way how to generate a file without running an app. That is a common case for various CICD scenarios.
As one of the options use org.reflections -> reflections to force Resource/Relationship/Operation initialization and building OAS model.
Use org.objenesis -> objenesis to scan classpath
Use Maven Exec plugin that simply triggers this logic.
Add to the Documentation.