The issue was that springdoc-openapi-maven-plugin is executed during integration-test
phase while swagger-codegen-maven-plugin default phase is generate-sources
which is executed before integration-test
in the build lifecycle. Also on your 3rd plugin you entered the id format twice with no spaces so it could not generate your correct to run correctly. That should fix your code and make the process run correctly.