swagger-maven-plugin icon indicating copy to clipboard operation
swagger-maven-plugin copied to clipboard

is this plugin callable form command line?

Open aitorrisco opened this issue 1 year ago • 0 comments

Hi all, Its possible to call this plugin from command line? Only the plugin without the rest of the compilation.

I'm having problems to setup the ApiSources location.

mvn com.github.kongchen:swagger-maven-plugin:3.1.8:generate  -Dswagger.apiSources=com.test

[ERROR] Unknown lifecycle phase ".apiSources=com.test". You must specify a valid lifecycle phase or a goal .....

I have tryed many options, but anyone works.

Is there a simple example to take a look?

aitorrisco avatar Apr 24 '24 13:04 aitorrisco