<plugin> <groupId>io.swagger.core.v3</groupId> <artifactId>swagger-maven-plugin</artifactId> <version>2.06</version> </plugin> Does not add the ApplicationPath in the openapi files.