Issue
I'm trying to generate openapi/swagger spec file during the build time. Maven plugin jaxrs-gen works but it's very old and no longer maintained and creates very old version of swagger spec file which is no longer compatible with the new versions. Please note that openapi-generator-maven-plugin which creates java client end points from spec file works as expected, but I am trying to do the other way round.
Solution
I found SmallRye OpenAPI Maven Plugin which works as expected and is aligned to what I needed.
Answered By - mr-m-jali
Answer Checked By - Dawn Plyler (JavaFixing Volunteer)