Created
October 9, 2015 12:43
-
-
Save ErrorProne/9bddc7eb7dd34fdd62e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>com.github.kongchen</groupId> | |
<artifactId>swagger-maven-plugin</artifactId> | |
<version>${maven-swagger-plugin.version}</version> | |
<configuration> | |
<apiSources> | |
<apiSource> | |
<locations>de.mdk</locations> | |
<apiVersion>1.0</apiVersion> | |
<basePath>http://project</basePath> | |
<supportSpringMvc>false</supportSpringMvc> | |
<!--Optional parameters BEGIN--> | |
<!---General parameters BEGIN--> | |
<apiInfo> | |
<title>ki.test - REST API Documentation</title> | |
<description>This document describes the ki.test REST-API</description> | |
<contact>me@me.de</contact> | |
</apiInfo> | |
<overridingModels>/swagger-overriding-models.json</overridingModels> | |
<swaggerInternalFilter>com.wordnik.swagger.config.DefaultSpecFilter</swaggerInternalFilter> | |
<!---General parameters END--> | |
<!---Document generation parameters BEGIN--> | |
<outputTemplate>swagger/templates/strapdown.html.mustache</outputTemplate> | |
<mustacheFileRoot>${basedir}/swagger/templates/</mustacheFileRoot> | |
<outputPath>${basedir}/swagger/docs/document.html</outputPath> | |
<!---Document generation parameters END--> | |
<!---Swagger JSON parameters BEGIN--> | |
<swaggerDirectory>swagger/docs/</swaggerDirectory> | |
<swaggerUIDocBasePath>http://www.wordnik.com/restapi/doc</swaggerUIDocBasePath> | |
<useOutputFlatStructure>false</useOutputFlatStructure> | |
<!---Swagger JSON parameters END--> | |
<!--Optional parameters END--> | |
</apiSource> | |
</apiSources> | |
</configuration> | |
<executions> | |
<execution> | |
<phase>compile</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