Closed pkukharenka closed 1 year ago
Plugin configuration is global for the whole plugin. There is no way to do something like below:
<groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-maven-plugin</artifactId> <version>1.4</version> <executions> <execution> <id>admin-api-generation</id> <phase>integration-test</phase> <goals> <goal>generate</goal> </goals> <configuration> <apiDocsUrl>http://localhost:8080/v3/api-docs/admin</apiDocsUrl> <outputFileName>openapi-admin.json</outputFileName> <outputDir>${project.build.directory}</outputDir> </configuration> </execution> <execution> <id>user-api-generation</id> <phase>integration-test</phase> <goals> <goal>generate</goal> </goals> <configuration> <apiDocsUrl>http://localhost:8080/v3/api-docs/user</apiDocsUrl> <outputFileName>openapi-user.json</outputFileName> <outputDir>${project.build.directory}</outputDir> </configuration> </execution> </executions> </plugin>`
@pkukharenka,
This should work!
Plugin configuration is global for the whole plugin. There is no way to do something like below: