Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Swagger Doc #401

Open
rsoika opened this issue Jul 26, 2018 · 0 comments
Open

Add Swagger Doc #401

rsoika opened this issue Jul 26, 2018 · 0 comments

Comments

@rsoika
Copy link
Member

rsoika commented Jul 26, 2018

can be done with some maven plugin.

something like this:

<plugin>
				<groupId>com.github.kongchen</groupId>
				<artifactId>swagger-maven-plugin</artifactId>
				<version>3.1.1</version> <!-- TODO: move swagger version to top-level pom -->
				<configuration>
					<apiSources>
						<apiSource>
							<springmvc>false</springmvc>
							<schemes>http,https</schemes>
							<basePath>/</basePath>
							<locations>org.imixs.workflow.jaxrs</locations>
							<info>
								<title>ClusterMgr REST API</title>
								<version>v1</version>
								<description>test</description>
							</info>
							<swaggerDirectory>testx</swaggerDirectory>
						</apiSource>
					</apiSources>
				</configuration>
				<executions>
					<execution>
						<phase>prepare-package</phase>
						<goals>
							<goal>generate</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant