这是indexloc提供的服务,不要输入任何密码
Skip to content

-Dswagger.skip=false doesn't trigger plugin #888

@lorencole

Description

@lorencole

We'd like to only build our API spec in specific cases and have the plugin skipped by default. So in pom.xml we've got:

<plugin>
				<groupId>com.github.kongchen</groupId>
				<artifactId>swagger-maven-plugin</artifactId>
				<version>3.1.8</version>
				<configuration>
					<skipSwaggerGeneration>true</skipSwaggerGeneration>
					<apiSources> ...

This skips spec generation by default, but $ mvn compile -Dswagger.skip=false also skips generation. Using 3.1.8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions